bigal_george has asked for the wisdom of the Perl Monks concerning the following question:
Hi Ive got a file delete routine which in a loop as each singular file or directory is removed I do this: print STDERR "."; which gives a continuous row of dots progressing across the screen as each file or directory is deleted.
use File::Copy::Recursive qw(fcopy rcopy dircopy fmove rmove dirmove);
I have no idea how to write a callback to the dircopy() function, or if its possible. But there are thousands of files, and once the perl script is called seeing a blinking cursor is very non-intuitive and I'd appreciate if anyone could advise how I can simply show the dots progress as per the delete routine.