Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Change package name on the fly?

by Plankton (Vicar)
on Sep 06, 2012 at 05:41 UTC ( #992008=note: print w/replies, xml ) Need Help??


in reply to Change package name on the fly?

You could build and install the same version of Perl on your system twice. Just when you run Configure to build and install your second version use --prefix=/some/where/else. Then install the module you want to test in both Perl's. Something like
$ /where/you/put/bin/perl -MCPAN shell cpan> install NWCLARK/Foo-Bar-0.02.tar.gz ... $ /some/where/else/bin/perl -MCPAN shell cpan> install NWCLARK/Foo-Bar-0.01.tar.gz
Then in your test script just change the shebang.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://992008]
help
Chatterbox?
[stevieb]: "Happy Monk Day, you've been here 8 troublesome years". Tack on another 8 before I signed up :)

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2017-08-19 15:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (311 votes). Check out past polls.

    Notices?