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

Re: Are there corner cases I am missing

by choroba (Cardinal)
on Nov 14, 2011 at 16:54 UTC ( [id://937983]=note: print w/replies, xml ) Need Help??


in reply to Are there corner cases I am missing

What should the code do? If the version string is 5.14.0, you are replacing the build value(?) with an undef. You should rather test for defined. But, if your intention is to supply undefs for missing information at the end of the string, you can delete most of the code: for 5.14.0, revision is already undef.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-23 06:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found