Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: When was $@ scope in sigdie fixed?

by ikegami (Patriarch)
on Dec 08, 2015 at 21:07 UTC ( [id://1149722]=note: print w/replies, xml ) Need Help??


in reply to Re: When was $@ scope in sigdie fixed?
in thread When was $@ scope in sigdie fixed?

require v5.014_000;
looks wrong. Shouldn't that be
require 5.014_000;
or
require v5.14.0;

Replies are listed 'Best First'.
Re^3: When was $@ scope in sigdie fixed?
by Apero (Scribe) on Dec 09, 2015 at 13:52 UTC

    You're right that the first of your suggested forms is the recommended method for maximum comparability.

    Incidentally, any of those 3 forms work counting mine, at least in reasonably-recent Perl versions (though I'm not exactly sure how old would break with that.) I had intended for the form that dropped the leading v as the documentation says it's more backwards-compatible, but there it is.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-03-29 00:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found