Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^4: 3 packages 1 uniform version

by polettix (Vicar)
on Feb 14, 2008 at 18:56 UTC ( #668005=note: print w/ replies, xml ) Need Help??

in reply to Re^3: 3 packages 1 uniform version
in thread 3 packages 1 uniform version

I'd simplify as follows:

Package Foo::VERSION; $VERSION = '$Revision: 1.119 $'; # or $VERSION = q$Revision: 1.119 $;
and then
$VERSION = eval { require Foo::VERSION; $Foo::VERSION::VERSION };

Hey! Up to Dec 16, 2007 I was named frodo72, take note of the change! Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf

Io ho capito... ma tu che hai detto?

Comment on Re^4: 3 packages 1 uniform version
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://668005]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2014-11-26 17:56 GMT
Find Nodes?
    Voting Booth?

    My preferred Perl binaries come from:

    Results (172 votes), past polls