Avatar of Rambl
Rambl
 asked on

Question about @INC variable in perl

perl -V gives you information on the @INC variable.

I'm assuming if your perl script calls a module, it is loaded in the order in which the @INC is listed (from the perl-V command)

How do I change the order of these directories so I can make sure it picks up the version of the module I'm intending? ...or, is that implied in the script itself on the first line. i.e. #!/home/mydir/perl

There are 3 versions of perl on the system, which seems to be necessary (specific to how this server is used).

Thanks
PerlScripting LanguagesShell Scripting

Avatar of undefined
Last Comment
ozo

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
ozo

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy