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

Re: RegEx bump version number

by shigetsu (Hermit)
on Apr 25, 2007 at 17:43 UTC ( [id://612064]=note: print w/replies, xml ) Need Help??


in reply to RegEx bump version number

A regular expression free version (not arguing for or against):
$version = do { my $v = [ split /\./, '0.8.34.0' ]; $v->[2]++; join '. +', @$v };

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-25 17:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found