Fix issue with $uptime being undefined

Fix issue with $uptime being undefined.
On my setup perl requires a variable to assign the return value of the split operation. Without this the value of $uptime ends up being undefined.
Merge pull request #504 from stephankn/patch-1

Fix issue with $uptime being undefined