Match min and max chars

2003-08-26 Thread Anthony English
if ($year =~ /\d{2,4}/) { print "year is between 2 and 4 digits\n"; } else { print "Error: year should be between 2 and 4 digits.\n"; } Anthony English -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Cron jobs and perl

2003-08-20 Thread Anthony English
t 2>&1 This would run at 7:15 am, Monday to Friday, switch user to username, adopting username's .profile and environmental variables (hence the - after the su) and then run the script /path/script. Output from the cron job would go to /tmp/script.out, including errors. Anthony

Find errors in log files, convert to html

2003-08-14 Thread Anthony English
or/IWOODHEAD/Text-Scan-0.15/Scan.pm Anthony English -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]