Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: Using relative paths with taint mode

by Bod (Parson)
on Jun 20, 2021 at 14:29 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-25 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found