in reply to Crond
For example you could do
Or alternately, simply only use one hash, since the data is the same.my(%dias, %dias_crontab); %dias = %dias_crontab = ( ... );
Your regexps for extracting field data are actually too strict, you do not allow for whitespace between commas, or for non space whitespace.
You might want to take a glance at "a cron; in perl: But Why?!", and perhaps consider wrapping it in a shell to interface with Windows services?
--
perl -pew "s/\b;([mnst])/'$1/g"
|
---|
In Section
Code Catacombs