| 1 |
$Id: README,v 1.4 2005/05/19 10:04:56 pelagic Exp pelagic $ |
| 2 |
|
| 3 |
You can install this module in the usual Perl way: |
| 4 |
|
| 5 |
perl Makefile.PL |
| 6 |
make |
| 7 |
make test |
| 8 |
make install |
| 9 |
|
| 10 |
The documentation is in the module file. Once you install |
| 11 |
the file, you can read it with perldoc: |
| 12 |
|
| 13 |
perldoc List::Rotation::Cycle |
| 14 |
|
| 15 |
If you want to read it before you install it, you can use |
| 16 |
perldoc directly on the module file: |
| 17 |
|
| 18 |
perldoc Cycle.pm |
| 19 |
|
| 20 |
You can unistall this module by using something like this: |
| 21 |
<code> |
| 22 |
#!/usr/local/bin/perl -w |
| 23 |
use strict; |
| 24 |
use ExtUtils::Packlist; |
| 25 |
use ExtUtils::Installed; |
| 26 |
|
| 27 |
$ARGV[0] or die "Usage: $0 Module::Name\n"; |
| 28 |
|
| 29 |
my $mod = $ARGV[0]; |
| 30 |
|
| 31 |
my $inst = ExtUtils::Installed->new(); |
| 32 |
|
| 33 |
foreach my $item (sort($inst->files($mod))) { |
| 34 |
print "removing $item\n"; |
| 35 |
unlink $item; |
| 36 |
} |
| 37 |
|
| 38 |
my $packfile = $inst->packlist($mod)->packlist_file(); |
| 39 |
print "removing $packfile\n"; |
| 40 |
unlink $packfile; |
| 41 |
</code> |
| 42 |
|
| 43 |
|
| 44 |
Share and Enjoy, |
| 45 |
|
| 46 |
Imre Saling, [email protected] |
| 47 |
|