Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Why version strings?

by ikegami (Pope)
on Mar 28, 2011 at 23:17 UTC ( #896050=note: print w/replies, xml ) Need Help??


in reply to Re: Why version strings?
in thread Why version strings?

Since 5.12, use 5.012; could also introduce changes in behaviour. I'm not too fond of that

Since 5.10, actually. If there was no change in behaviour, there wouldn't be need for the features pragma at all.

$ perl -e'sub say { print "foo\n"; } say for "bar";' foo $ perl -E'sub say { print "foo\n"; } say for "bar";' bar

It was always safe to try

It's no more or less safe to try now as then. By switching use 5.008; for use 5.006;, you could get bugs that changed behaviour and compile-time errors just like you do now.

Update: Deleted a comment based on something I misread.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2021-05-14 02:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (147 votes). Check out past polls.

    Notices?