in reply to Re: Strange math issue with Net::SFTP
in thread Strange math issue with Net::SFTP

After making the change to my callback sub here is the output:

offset=0
size=666974
percent=0
offset=8192
size=666974
percent=409600/333487
offset=16384
size=666974
percent=819200/333487
offset=24576
size=666974
percent=1228800/333487
offset=32768
size=666974
percent=1638400/333487
offset=40960
size=666974
percent=2048000/333487
offset=49152
size=666974
percent=2457600/333487
offset=57344
size=666974
percent=409600/47641
offset=65536
size=666974
percent=3276800/333487
offset=73728
size=666974
percent=3686400/333487
offset=81920
size=666974
percent=4096000/333487

Side note anyone know why the readmore tag does not preserve newlines like the code tag?

  • Comment on Re^2: Strange math issue with Net::SFTP

Replies are listed 'Best First'.
Re^3: Strange math issue with Net::SFTP
by toolic (Bishop) on May 29, 2012 at 17:03 UTC
    Side note anyone know why the readmore tag does not preserve newlines like the code tag?
    readmore is just for hiding. You can nest code tags inside readmore:
    <readmore> <code> </code> </readmore>

      Thanks, I'll keep that in mind