Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Pod::Usage

by hossman (Prior)
on Jan 08, 2006 at 20:04 UTC ( #521831=note: print w/replies, xml ) Need Help??


in reply to Pod::Usage

my $REVISION = '$Id: pod-usage,v 1.79 2006/01/07 23:23:12 steve E +xp $'; $VERSION = join (' ', (split (' ', $REVISION))[2]); $VERSION =~ s/,v\b//; $VERSION =~ s/(\S+)$/$1/;

Ouch.

You might want to review this list of CVS Keywords, I think you'll find $Revision$ handy

Replies are listed 'Best First'.
Re^2: Pod::Usage
by skx (Parson) on Jan 09, 2006 at 15:05 UTC

    Classic case of my cutting and pasting some working code into a simpler example. (There's no way this code could be at revision 78!)

    I'm aware of $Revision: $, but in my real code I display both date and revision and neglected to simplify this section.

    Thanks for the tip anyway, I'm sure other people might appreciate the pointer :)

    Steve
    --

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2020-02-29 04:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (128 votes). Check out past polls.

    Notices?