Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: Using relative paths with taint mode

by Bod (Curate)
on Jun 20, 2021 at 14:29 UTC ( #11134069=note: print w/replies, xml ) Need Help??


in reply to Re^3: Using relative paths with taint mode
in thread Using relative paths with taint mode

I must be missing something...
local::lib is for a "Perl module library located within the user's home directory".

I don't see how that helps to separate development, test and production versions of a module when they are all in the same user's home directory.

  • Comment on Re^4: Using relative paths with taint mode

Replies are listed 'Best First'.
Re^5: Using relative paths with taint mode
by marto (Cardinal) on Jun 20, 2021 at 20:11 UTC

    A home directory can contain more than one directory, the documentation gives examples of how to use this and specify a path (DEV/SYT/UAT...) which would make sense if you wanted to test your things with various combinations of cpan modules. If it's just your things you're interested in you obviously don't need to do this, and just go for the use lib method.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2022-06-30 20:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (98 votes). Check out past polls.

    Notices?