Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Date::Manip and taint mode

by Corion (Pope)
on Jun 17, 2020 at 14:39 UTC ( #11118204=note: print w/replies, xml ) Need Help??


in reply to Re^2: Date::Manip and taint mode
in thread Date::Manip and taint mode

If you don't have PERL5LIB set in your environment, the problem is somewhere else.

The variable @INC is the search path where Perl looks for modules. You can inspect the module search path by running perl -V on the command line.

The value of @INC is influenced by the environment variable PERL5LIB, see perlrun and perlvar on @INC.

The link I posted explains that the environment variable PERL5LIB is ignored under taint mode.

The module lib is a convenient way to set up @INC (which PERL5LIB also sets) from within a Perl program.

Replies are listed 'Best First'.
Re^4: Date::Manip and taint mode
by Anonymous Monk on Jun 19, 2020 at 21:14 UTC
    "The link I posted explains that the environment variable PERL5LIB is ignored under taint mode." Bingo ... didn't know that.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2021-06-23 12:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (120 votes). Check out past polls.

    Notices?