Mike Schilli's Friendly Neighborhood Perl Shop

Home
USArundbrief.com
Resume
CPAN Modules
Articles in English
Articles in German
Mike's Script Archive
English-Japanese Translation Trainer
Adventures with O'Reilly's Safari
10 Easy Steps to Become a California Driver
Unofficial perlmonks.com IRC Channel
My Collection of Outage Pages
Prisma (Computer Club Deutschland)
Mike's Monologues
Mike's Script Archive: squirrel

squirrel - squirrel away and resurrect perl modules for testing


NAME

    squirrel - squirrel away and resurrect perl modules for testing


DOWNLOAD

squirrel


SYNOPSIS

    squirrel Foo::Bar::Baz


DESCRIPTION

Ever wondered what happens to a script of yours if a certain module is missing from your perl installation? squirrel makes it easy to squirrel away installed modules momentarily and resurrect them later on.

squirrel will take a module name like Foo::Bar::Baz (without the *.pm suffix) as an argument, walk the @INC path to search for it and move .../Foo/Bar/Baz.pm to .../Foo/Bar/Baz.pm.squirrelled.

Called again with the same module name it will find .../Foo/Bar/Baz.pm.squirrelled and resurrect it to be .../Foo/Bar/Baz.pm.


EXAMPLES

  $ squirrel LWP::UserAgent
  Squirrelling away LWP::UserAgent
  $ squirrel LWP::UserAgent
  Resurrecting LWP::UserAgent


LEGALESE

Copyright 2002 by Mike Schilli, all rights reserved. This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.


AUTHOR

2002, Mike Schilli <m@perlmeister.com>


Latest update: 20-Oct-2013