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

Re^4: use lib statement with path variable

by dave_the_m (Prior)
on Dec 04, 2013 at 21:22 UTC ( #1065657=note: print w/replies, xml ) Need Help??

in reply to Re^3: use lib statement with path variable
in thread use lib statement with path variable

You should write: ...
The use statement needs to be outside the BEGIN block, e.g.
my $some_path; BEGIN { $some_path = "/my/path"; } use lib "$some_path/lib";


Replies are listed 'Best First'.
Re^5: use lib statement with path variable
by Eily (Prior) on Dec 04, 2013 at 21:47 UTC

    Thanks, corrected :)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1065657]
[Your Mother]: The good news is, they think they are influencing people but Americans at least are irretrievably biased. All that can be accomplished is a little spike in domestic violence. :P
[LanX]: YM: watch your mouth or I'll show up with my automatic gun at your nursery ...
[LanX]: ;-P
[LanX]: What I learned now is to hide my friends list at FB (not that I have many ...)
[Your Mother]: Careful. They're listening!
[LanX]: I mean hiding my friends FROM my friends
[Your Mother]: Yeah. I don't know what they expect. If a stranger can see the post or list or whatever, so can a harvesting program.
[Your Mother]: HA.

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2018-03-19 13:29 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (240 votes). Check out past polls.