Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Need help with includes in subdirectories

by sintadil (Pilgrim)
on Sep 20, 2004 at 14:55 UTC ( [id://392376]=note: print w/replies, xml ) Need Help??


in reply to Need help with includes in subdirectories

What I'm trying to do is write a simple "Hello world" script in the root, that will search the tree for something that I include. Right now "utils.pm" exists in common\perl\utils\net\.

Perhaps you want to use the lib pragma? Something like:

use lib q#common\\perl\\utils\\net#;
sounds like it'd give you what you want. Remember to properly escape backslashes in your paths.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (1)
As of 2024-04-25 00:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found