Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: A whirleygig for a progress indicator for scripts

by Corion (Patriarch)
on May 16, 2009 at 17:50 UTC ( [id://764434] : note . print w/replies, xml ) Need Help??


in reply to Re^3: A whirleygig for a progress indicator for scripts
in thread A whirleygig for a progress indicator for scripts

No. From looking at the File::Copy source code, it provides no progress callback. You could try to override CORE::sysread and/or CORE::syswrite, which File::Copy uses in its inner loop. Or just do the progress based on the number of files.

  • Comment on Re^4: A whirleygig for a progress indicator for scripts