in reply to Re: How can I do with only Standard Perl Distribution
in thread How can I do with only Standard Perl Distribution

use lib '/home/fred/sc';
Not only is that much friendlier to the user, it also handles a number of possible cross-platform issues for you.

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

Replies are listed 'Best First'.
Re^3: How can I do with only Standard Perl Distribution
by buysse (Acolyte) on Jan 19, 2006 at 23:26 UTC
    Even better, in my opinion, for a self-contained script or application:
    use FindBin qw(); use lib "$FindBin::Bin/../lib";