Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Test::Class and use lib

by adrianh (Chancellor)
on Aug 22, 2005 at 08:29 UTC ( [id://485634]=note: print w/replies, xml ) Need Help??


in reply to Re: Test::Class and use lib
in thread Test::Class and use lib

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://485634]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (None)
    As of 2024-04-25 01:21 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found