in reply to Machine-readable Current Version
Using MetaCPAN::Client:
#!/usr/bin/env perl use strict; use warnings; use MetaCPAN::Client; my $mcpan = MetaCPAN::Client->new (); my $perl = $mcpan->module ('perl'); print "Latest stable perl version is " . $perl->version() . "\n";
Not so tricky, really.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Machine-readable Current Version
by roho (Bishop) on May 14, 2017 at 18:08 UTC | |
by afoken (Chancellor) on May 14, 2017 at 19:14 UTC | |
by DStaal (Chaplain) on May 15, 2017 at 17:01 UTC | |
|
Re^2: Machine-readable Current Version
by DStaal (Chaplain) on May 10, 2017 at 15:15 UTC |