Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Perl "require" question

by choroba (Chancellor)
on Nov 03, 2012 at 21:28 UTC ( #1002144=note: print w/ replies, xml ) Need Help??


in reply to Perl "require" question

Both $0 and $FindBin::Bin in a required module still point to the main programme. __FILE__, on the other hand, does not.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
Comment on Re: Perl "require" question
Select or Download Code
Replies are listed 'Best First'.
Re^2: Perl "require" question
by stevensw (Acolyte) on Nov 03, 2012 at 21:56 UTC
    That works, many thanks!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2016-04-30 15:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.