Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: Test::Class and use libby adrianh (Chancellor) |
on Aug 22, 2005 at 08:29 UTC ( [id://485634]=note: print w/replies, xml ) | Need Help?? |
That said, I would use the fragment of very untested code below, to construct a hopefully more portable alternative by using File::Spec... You don't need to do this since use lib does it for you :-) From the POD: In order to keep lib.pm small and simple, it only works with Unix filepaths. This doesn't mean it only works on Unix, but non-Unix users must first translate their file paths to Unix conventions.
In Section
Seekers of Perl Wisdom
|
|