in reply to Re: More info, please.
in thread Why SFTP copy_time doesn't work?

the return value for the status method is both a number and a string, it works in the same way as $!, so you can compare it numericaly if you wish.

Anyway, for most high level methods such as put, get, etc., the status value doesn't really mean anything, it's just the server response to the last low level request. It is implementation dependant and could change between versions of the module. You will be better using the error method.