NAME
App::Netdisco::Util::Statistics
DESCRIPTION
Update the Netdisco statistics.
There are no default exports, however the :all
tag will export all subroutines.
EXPORT_OK
update_stats()
Update the Netdisco statistics, either new for today or updating today's figures.
pretty_version ( $versionstring , $seglen )
Splits a string (only numbers and dots allowed) into a number of parts which are seglen long, then removes all leading zeros from each part and returns the parts joined by dots as one string.
Returns the original versionstring if unallowed characters are found or seglen is negative.
Returns undef
if seglen is zero.