http://qs321.pair.com?node_id=11121023


in reply to Re: Instance of 'use lib' won't accept relative path
in thread Instance of 'use lib' won't accept relative path

That won't work if you call the script via symlink. You need to use $RealBin.

use FindBin qw( $RealBin ); use lib "$RealBin/../lib";