File: README

package info (click to toggle)
liblist-rotation-cycle-perl 1.009-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 116 kB
  • ctags: 3
  • sloc: perl: 25; makefile: 2
file content (47 lines) | stat: -rw-r--r-- 990 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
$Id: README,v 1.4 2005/05/19 10:04:56 pelagic Exp pelagic $

You can install this module in the usual Perl way:

	perl Makefile.PL
	make
	make test
	make install
	
The documentation is in the module file.  Once you install
the file, you can read it with perldoc:

	perldoc List::Rotation::Cycle
	
If you want to read it before you install it, you can use
perldoc directly on the module file:

	perldoc Cycle.pm
	
You can unistall this module by using something like this:
<code>
#!/usr/local/bin/perl -w
use strict;
use ExtUtils::Packlist;
use ExtUtils::Installed;

$ARGV[0] or die "Usage: $0 Module::Name\n";

my $mod = $ARGV[0]; 

my $inst = ExtUtils::Installed->new();

    foreach my $item (sort($inst->files($mod))) {
             print "removing $item\n";
             unlink $item;
          }

     my $packfile = $inst->packlist($mod)->packlist_file();
          print "removing $packfile\n";
          unlink $packfile;
</code>


Share and Enjoy, 

Imre Saling, pelagic@cpan.org