Harry Putnam <rea...@newsguy.com> writes: > sub usage{ ## It's been said that a HEREDOC would be better here. Probably > ## true, but just curious why that would be the case > print " > Purpose: Find specific msgid's in procmail.log (including gzipped ones), > return > The interesting block of lines containing that msgid > Usage: `$myscript RE [-f LOGNAME ] [-z LOGNAME]' > (`RE' is required; -f or -z is optional) > (`RE' expects a regexto be found in a `Message-Id: ' line) > > flags: -f - is optional and requires a LOGNAME (used to change from default: > $base/procmail.log) > -z - is optional and requires a LOGNAME (used to indicate the name of > a > gzipped LOG
Whoops, this help messasge does not fit the posted code and was not updated along with the script... please igore the inconsistences. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/