in reply to Re: 'use lib' versus '-I'in thread 'use lib' versus '-I'
It works for me:
$ ls Test.pm $ cat Test.pm package Test; sub foo { @_ } 1; $ perl -le 'use lib "."; use Test; print Test::foo( "Hello, world!" )' Hello, world! $ [download]
What did you actually put on the command line?
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.