Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: use class path

by pajout (Curate)
on May 27, 2010 at 08:37 UTC ( [id://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.

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://841892]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-23 11:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found