Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Using relative paths with taint mode

by marto (Cardinal)
on Jun 20, 2021 at 14:04 UTC ( #11134067=note: print w/replies, xml ) Need Help??


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

"later versions of Perl are trying to make it difficult to use relative paths for modules!"

They made perl safer, not more difficult to use. local::lib has been mentioned you a couple of times previously.

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

Replies are listed 'Best First'.
Re^4: Using relative paths with taint mode
by Bod (Curate) on Jun 20, 2021 at 14:22 UTC
    They made perl safer, not more difficult to use

    My point was that Perl is making one thing more difficult to do - and, by implication, that thing is being discouraged! I was not suggesting that Perl is, or is becoming, difficult to use!

    From your linked search, the last mention of local::lib was February 2016 which was before my time...

      "From your linked search, the last mention of local::lib was February 2016 which was before my time..."

      I didn't link to a search. Read what I wrote. local::lib has been mentioned to you, super search if you need to find where.

Re^4: Using relative paths with taint mode
by Bod (Curate) on Jun 20, 2021 at 14:29 UTC

    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.

      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://11134067]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2022-05-28 06:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (98 votes). Check out past polls.

    Notices?