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 23, 2005 07:13
Subject:
Re: loadlib and libraries with '.' in the name
Message ID:
C13B67FA-89B5-4B6A-9AC2-850C294C8DE3@neces.com

On Sep 23, 2005, at 3:43 AM, Roger Browne wrote:

> Ross McFarland <rwmcfa1@neces.com>
>
>
>>> i'm not really sure what the solution here would be. you'd have  
>>> to know
>>> what all of the possible extension types were and look to remove  
>>> them if
>>> found...
>>>
>
> How about removing the extension only if the rightmost dot is followed
> by a letter?

that would solve the gtk case, but you can still envision legal  
library names that break this.

     loadlib liborg.perl.something

that's a perfectly legal, albeit weird, library name.

-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