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

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

Thread Previous | Thread Next
From:
Ross McFarland
Date:
September 22, 2005 23:43
Subject:
Re: loadlib and libraries with '.' in the name
Message ID:
EF481647-8E1D-400A-BDE5-A6483D7CCC2A@neces.com

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/libm.so 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.

-rm


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About