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]
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
or/IWOODHEAD/Text-Scan-0.15/Scan.pm
Anthony English
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]