Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Why am I getting two different results for my @INC variable?

by MidLifeXis (Monsignor)
on Nov 29, 2011 at 13:25 UTC ( [id://940620]=note: print w/replies, xml ) Need Help??


in reply to Re: Why am I getting two different results for my @INC variable?
in thread Why am I getting two different results for my @INC variable?

This makes sense. From the command prompt you would be using the same perl as found from which perl. If the shebang is different, find out why. The system perl is not necessarily the one your application is expecting, nor is the one your shebang line pointing to necessarily appropriate for system use.

For my $day_job, I ignore the system perl entirely, and build or include the perl installation as part of my application (or set of applications). Changes to the system then have less of a chance of impacting my applications.

--MidLifeXis

  • Comment on Re^2: Why am I getting two different results for my @INC variable?
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 00:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found