Thread perl-script zur Mail-log Auswertung
(12 answers)
Opened by skynetworks at 2007-08-01 21:53
Hallo zusammen,
funktioniert beides nicht so recht: mit if ($line =~ m/\breject \b*/) bekomme ich den Fehler: \b* matches null string many times in regex; marked by <-- HERE in m/\breject \b* <-- HERE / at ./alle_rejects.pl line 18. und mit if ($line =~ m/\breject \b) bekomme ich den Fehler: Bareword found where operator expected at ./alle_rejects.pl line 24, near "if ( $line =~ m/from" (Might be a runaway multi-line // string starting on line 18) (Do you need to predeclare if?) Backslash found where operator expected at ./alle_rejects.pl line 24, near "from\" syntax error at ./alle_rejects.pl line 24, near "if ( $line =~ m/from" Substitution replacement not terminated at ./alle_rejects.pl line 24. Das wäre jetzt aber nicht so wild, die Filterfunktion, wie im 1. Posting angegeben wäre wichtiger..... Danke für die Hilfe & Gruss Thomas |