Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Calling Subroutines From Another File: Path Problem

by Athanasius (Canon)
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 browsing the Monastery: (11)
As of 2016-04-29 13:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.