We don't bite newbies here... much | |
PerlMonks |
Re^3: Perl rangesby Anneq (Vicar) |
on May 06, 2013 at 15:01 UTC ( [id://1032318]=note: print w/replies, xml ) | Need Help?? |
Welcome to perl! Stick with it. It is useful for so many things and there is help to be had in many places. I've provided you with some code for tutorial purposes but I'd recommend going with Mikes because it is more elegant and versatile. The script below works on files in the current directory containing the perl script. For information on $|, visit Suffering from Buffering. It basically makes sure your output comes out as expected. For more information on perl, such as the localtime() and stat(), functions, checkout perl.org and your local ActiveState documentation and, of course, Google is your friend.
The code to drop in your script might be: (Warning: Not tested)
Anne
In Section
Seekers of Perl Wisdom
|
|