Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: use class path

by pajout (Curate)
on May 27, 2010 at 08:37 UTC ( #841892=note: print w/ replies, xml ) Need Help??


in reply to use class path

I am sorry if I advice something trivial for you...

If you use relative path, this is relative to your current directory, NOT to directory where your script is. If it is the case, module FindBin can help to obtain $RealBin.


Comment on Re: use class path
Re^2: use class path
by josera (Beadle) on May 29, 2010 at 18:15 UTC
    Hi, thanks for your help. I've checked again, and the path is good written. I wrote it wrong here, at the forum. I'm sorry. I'll check FindBin, although it's the frist time I hear it. I'm sorry I've been out of Perl for 4 years.
Re^2: use class path
by josera (Beadle) on May 29, 2010 at 18:31 UTC
    I'm confused. I tried FindBin but it didn't work, so as a temporary solution, I copied the .pm files to my current working directory, but even that has failed. What happen with the INC variable?
    Thanks.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2014-07-29 21:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (228 votes), past polls