This works fine on my system, but I'm worried that the use lib might break on other OSes, especially with the hardcoded relative path. Is there an accepted standard way of doing this which is better?
It should work fine. lib automatically converts unix style paths to the appropriate format for whatever platform it's running under.
In reply to Re: Test::Class and use lib
by adrianh
in thread Test::Class and use lib
by friedo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |