rovf has asked for the wisdom of the Perl Monks concerning the following question:
What is the best (portable) way to express that a Perl program requires 5.8.8 or later?
I tried
but got a warning since this doesn't work with old Perl versions. For old versions, the version needs to be syntacically a number. I googled for examples, but did not find any for 5.8.8. I tried the following:require v5.8.8;
This is syntactically correct, but I wonder whether I really pick the "right" Perl version with this expression.require 5.008_008;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Portable way to require Perl 5.8.8
by ikegami (Patriarch) on Mar 18, 2011 at 17:21 UTC | |
|
Re: Portable way to require Perl 5.8.8
by chromatic (Archbishop) on Mar 18, 2011 at 17:10 UTC | |
|
Re: Portable way to require Perl 5.8.8
by JavaFan (Canon) on Mar 18, 2011 at 20:54 UTC | |
by rovf (Priest) on Mar 21, 2011 at 09:19 UTC | |
by JavaFan (Canon) on Mar 21, 2011 at 10:08 UTC |