[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl5-porters
Subject:    Re: [perl #70866] use/package with "numeric literal" VERSIONs
From:       John Peacock <john.peacock () havurah-software ! org>
Date:       2009-11-30 21:59:09
Message-ID: 4B14402D.3080805 () havurah-software ! org
[Download RAW message or body]

David Golden wrote:
> I'd like to be able to "round-trip" a version any which way
> 
> * set it via package NAME VERSION
> * statically parse it and get the same thing back
> * eval "use Foo $version" and succeed
> * get the same thing back from Foo->VERSION
> * give it to version->new() and get back the same thing.
> 
> I have posted some sample code that shows cases that work and that fail.
> 
> http://gist.github.com/245765

I'll take a look at this tonight...

John
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic