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

Re: Re: Re: Use module questions..

by benn (Vicar)
on Apr 20, 2003 at 11:02 UTC ( [id://251799]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Use module questions..
in thread Use module questions..

No - the other way round - if power.cgi is in a different directory to Test.pm, you'll need an absolute path to it ("/httpd/whatever/") or a relative path that will find it ("../../httpd/whatever"). pfaut's point is that if you use a relative path, and then move script.cgi to *somewhere else*, the relative path won't work, so you're probably safer using an absolute path.

You've sussed it about @EXPORT and @EXPORT_OK though. :)

Cheers
Ben.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-24 03:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found