On Sat, 2005-11-19 at 21:05 +0100, Bernhard Schmalhofer wrote:

> Setting the Perl5 search path can be handled with FindBin. See for 
> example languages/m4/t/basic/001_comletely_empty.t:
> 
>   use FindBin;
>   use lib "$FindBin::Bin/../../lib", "$FindBin::Bin/../../../../lib";

That's fairly ugly to put in the header of every test file.  It would be
nice to avoid such repeated, typo-prone, scary black magic.

-- c

Reply via email to