in reply to Machine-readable Current Version
I can obviously manually check perl.org
If you can do it manually, you can tell perl to do it. TIMTOWTDI als always:
perl -MLWP::Simple -le 'get("https://www.perl.org/get.html") =~ /lates +t stable version, currently ([\d\.]+)\./ and print $1' 5.24.1
perl -MLWP::Simple -le 'get("http://www.cpan.org/src") =~ /([\d\.]+)\s ++<td>Maint/ and print $1' 5.24.1
at the time of writing this node.
Index of /src/5.0 on The Comprehensive Perl Archive Network is outdated at the moment, since it tells latest_maint_is_5.14.1. The links haven't been adjusted for a long time...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Machine-readable Current Version
by choroba (Cardinal) on May 15, 2017 at 13:39 UTC | |
by marto (Cardinal) on May 15, 2017 at 13:53 UTC | |
by shmem (Chancellor) on May 15, 2017 at 13:41 UTC |