Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^4: Perl Modules

by jamroll (Beadle)
on Jun 20, 2017 at 22:10 UTC ( #1193187=note: print w/replies, xml ) Need Help??

in reply to Re^3: Perl Modules
in thread Perl Modules

need to talk about that lib thing, too. do i need to include that? @INC already includes the current working folder (the folder where the script resides, by default anyway, and i usually just go with that). so that when i write use Pm::Security;, the system knows to look in "./pm/" (which the ./ in my case is my web server's document root D:/Apache24/htdocs/) without me having to include use lib "...." in my code. um, what else was there about that....drawing a blank. anyway - i'll continue the modifications to my code. when i have completed the updates, and ran a test, i'll come back.

Replies are listed 'Best First'.
Re^5: Perl Modules -- . current directory removed from @INC
by Discipulus (Abbot) on Jun 21, 2017 at 06:25 UTC
    > @INC already includes the current working folder..

    Please note that, for security reasons, . ie current directory has been removed from @INC in perl 5.26 and future realeases.


    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
Re^5: Perl Modules
by jamroll (Beadle) on Jun 20, 2017 at 23:24 UTC
    ok. your modification suggestions seem to be working gloriously! i'm continuing to update the modules and scripts to the changes. so far so good. so, i give you my most sincere gratitude in your help, and believe me you will get a kudos on the site's about page when I'm done. My promise on that. I'll report back when I have completed the update. Again, thank you so much for your help.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2021-06-13 20:01 GMT
Find Nodes?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)

    Results (57 votes). Check out past polls.