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

Re: Calling Subroutines From Another File: Path Problem

by Athanasius (Abbot)
on Jan 08, 2013 at 06:53 UTC ( #1012173=note: print w/ replies, xml ) Need Help??


in reply to Calling Subroutines From Another File: Path Problem

Here are some options:

  • Place use lib 'C:DIR1/DIR2/DIR3'; near the beginning of File1.pl

  • Invoke perl with a -I command-line option:

    perl -IC:/DIR1/DIR2/DIR3 File.pl
  • Add C:/DIR1/DIR2/DIR3 to the system environment variable PERL5LIB

See perlrun.

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,


Comment on Re: Calling Subroutines From Another File: Path Problem
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2015-07-03 16:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (54 votes), past polls