in reply to Re^2: Why version strings?
in thread Why version strings?
I fail to understand how that answers my question:$ perl -M5.014 -e1 Perl v5.14.0 required--this is only v5.12.2, stopped. BEGIN failed--compilation aborted.
I don't know whether there's a (single-line) syntax that at compile time checks for 5.10, but which doesn't enable features.If I substitute 5.010 for 5.014, 5.10 features are enabled:
$ perl -M5.010 -e 'say "foo"' foo
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Why version strings?
by ikegami (Patriarch) on Mar 29, 2011 at 15:33 UTC | |
by JavaFan (Canon) on Mar 29, 2011 at 16:24 UTC | |
by ikegami (Patriarch) on Mar 29, 2011 at 17:20 UTC | |
by JavaFan (Canon) on Mar 29, 2011 at 21:24 UTC | |
by ikegami (Patriarch) on Mar 29, 2011 at 22:09 UTC | |
by chromatic (Archbishop) on Mar 29, 2011 at 22:00 UTC |
In Section
Seekers of Perl Wisdom