in reply to Strange math issue with Net::SFTP
Then post your results.sub callback { my ( $sftp, $data, $offset, $size ) = @_; my $percent = ($offset/$size)*100; print "offset=$offset\n"; print "size=$size\n"; print "percent=$percent\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Strange math issue with Net::SFTP
by vendion (Scribe) on May 29, 2012 at 16:54 UTC | |
by toolic (Bishop) on May 29, 2012 at 17:03 UTC | |
by vendion (Scribe) on May 29, 2012 at 17:30 UTC |