develooper Front page | perl.perl6.internals | Postings from September 2005

Re: loadlib and libraries with '.' in the name

Thread Previous | Thread Next
Ross McFarland
September 22, 2005 23:43
Re: loadlib and libraries with '.' in the name
Message ID:

On Sep 22, 2005, at 11:32 PM, Amos Robinson wrote:

> I don't suppose we could really set up test cases for this sort of  
> thing, could we?

cross platform it would be tough b/c you need to know the full path  
to something you can load. i've got a testcase that given a lib's  
full path info it tests all possibilities. i guess it could just use  
something like libm with the hardcoded path of /usr/lib/ and  
skip the test if that file doesn't exist. that would test on a good  
portion of systems which is better than not testing anything just  
because you can't on all systems.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About