in reply to Re: Cookies with out milk.
in thread Cookies with out milk.

And thus spoke bluelines:
$foo='/path/to/my/module'; use lib $foo;
Which won't work, because the use will be at compile time, but the setting of $foo will not happen until runtime. {sigh}.

Either put the assignment inside a BEGIN, or just use lib '/path/to/my/module';

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
RE: RE: Re: Cookies with out milk.
by BlueLines (Hermit) on Aug 08, 2000 at 03:16 UTC
    argh. stupid compile time.

    BlueLines

    Disclaimer: This post may contain inaccurate information, be habit forming, cause atomic warfare between peaceful countries, speed up male pattern baldness, interfere with your cable reception, exile you from certain third world countries, ruin your marriage, and generally spoil your day. No batteries included, no strings attached, your mileage may vary.