hippo has asked for the wisdom of the Perl Monks concerning the following question:
Perusing the documentation of GetOpt::Std in perl 5.20 I noticed that it declared (in bold, no less), "Use of "getopts()" is not recommended." which seemed a bit odd. So I dug a little deeper into the docs and found that in more recent versions such as that bundled with perl 5.22 the recommendation was now the complete opposite, "Use of getopt() is not recommended."
There is nothing explicit I could spot in the changelog to explain this and it's a bit odd that the newer documentation doesn't refer to the older version or mention the change. Surely something like a complete reversal of which subroutine is recommended by the author ought to be highlighted in a fairly obvious manner?
Can anyone point me to an explanation for the change?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: GetOpt::Std change of recommended subroutine
by haukex (Archbishop) on Feb 16, 2017 at 10:06 UTC | |
|
Re: GetOpt::Std change of recommended subroutine
by Anonymous Monk on Feb 15, 2017 at 15:04 UTC | |
by hippo (Archbishop) on Feb 15, 2017 at 15:11 UTC |