There's more than one way to do things | |
PerlMonks |
Re: Windows Scheduler Issuesby jorg (Friar) |
on Mar 30, 2001 at 19:01 UTC ( [id://68382]=note: print w/replies, xml ) | Need Help?? |
I have no solution to your problem so you might not be interested in this post (by the looks of it wardk seems to know what he's talking about). What struck me in your code is you style of Perl coding in this script is very similar to my style about a year ago (before i started using it nearly on a daily basis). So at the risk of getting flamed for posting besides the issue, here are a few (hopefully) helpfull pointers that will make your perl neater and shorter *cough You can flatten your foreach loop : would become (in a more perl-ish way) This will already eliminate two levels of brackets, making your source more readable. Your notTodaysLogFile sub could (not saying should) be shortened up to:
Jorg "Do or do not, there is no try" -- Yoda
In Section
Seekers of Perl Wisdom
|
|