Would you consider comparing by the datestamp on the file rather than the version number? Then you could just use the mirror() method of LWP::Simple to check that the script is up to date, and download the newer version if not. However, whether a datestamp comparison is safe will depend on your particular application - whether an older version could ever get a newer datestamp.
--
"Any sufficiently analyzed magic is indistinguishable from science" - Agatha Heterodyne
In reply to Re: Checking for latest version
by mykl
in thread Checking for latest version
by rsiedl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |