Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Calling Subroutines From Another File: Path Problem

by LanX (Chancellor)
on Jan 08, 2013 at 06:42 UTC ( #1012168=note: print w/replies, xml ) Need Help??


in reply to Calling Subroutines From Another File: Path Problem

From your description it's not clear how you include your .pm file...

see Perl Modules to learn what modules are.

see use for the most common way to include them.

see @INC for how to setup the places where "use" constructs look for their library files.

Cheers Rolf

  • Comment on Re: Calling Subroutines From Another File: Path Problem

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012168]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2017-06-25 10:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (567 votes). Check out past polls.