Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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?

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 lurking in the Monastery: (6)
As of 2016-10-27 10:20 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (358 votes). Check out past polls.