in reply to Error/Warnings
... open(LOG, "<$logfile") or die "$logfile: $!"; print "<pre>"; print <LOG>; print "</pre>\n"; close(LOG);
Update: Reasonable people are disagreeing on how to interpret your question. Please clarify: Are the warnings you want to avoid seeing 1) produced by the script, or 2) in the logfile?
|
|---|