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

Re: Change Namespace of Package

by shmem (Chancellor)
on Sep 14, 2019 at 21:52 UTC ( #11106180=note: print w/replies, xml ) Need Help??


in reply to Change Namespace of Package

Adding to what haukex wrote, you could get the version of the module from the command line, if you wrap command line processing into a BEGIN block:

use strict; use warnings; my %options; BEGIN { use Getopt::Std; getopt('v', \%options); die "invalid value for -v switch\n" if ($options{v} !~ /^(?:7|8)$/); my $path = "/path/for/v$options{v}/lib/perl5"; unshift @INC, $path; } use Infoblox; # /path/for/v$options{v}/lib/perl5 will be searched firs +t
perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11106180]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2020-05-27 03:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (152 votes). Check out past polls.

    Notices?