eliminate use vars
[imager.git] / CountColor / CountColor.pm
CommitLineData
92bda632 1package Imager::CountColor;
ee64a81f 2use 5.006;
92bda632
TC
3use strict;
4use Imager;
92bda632 5require Exporter;
ee64a81f 6our @EXPORT_OK = 'count_color';
92bda632
TC
7
8BEGIN {
ee64a81f
TC
9 our $VERSION = "0.03";
10 our @ISA = qw(Exporter);
11
a5919365
TC
12 require XSLoader;
13 XSLoader::load('Imager::CountColor', $VERSION);
92bda632
TC
14}
15
161;
17
18__END__
19
20=head1 NAME
21
22Imager::CountColor - demonstrates writing a simple function using Imager.
23
24=head1 SYNOPSIS
25
26 use Imager;
27 use Imager::CountColor;
28 my $im = Imager->new(...); # some Imager image
29 ...; # some sort of manipulation
30 print count_color($im, $color_object);
31
32=head1 DESCRIPTION
33
34This module is a simple demonstration of how to create an XS module
35that works with Imager objects.
36
37You may want to copy the source for this module as a start.
38
39=head1 SEE ALSO
40
41Imager, Imager::Filter::DynTest
42
43=head1 AUTHOR
44
5b480b14 45Tony Cook <tonyc@cpan.org>
92bda632
TC
46
47=cut
48
49
50