[Cologne-pm] PERL - schnelles suchen & ersetzen in 100MB Datei

Wolfgang Weisselberg pl3rofb02 at sneakemail.com
Wed Apr 28 11:45:59 CDT 2004


cem.sakaryali at easi.de wrote 190 lines:

> ich habe Probleme bei eurem Code die Umleitung in eine Datei zu machen.

> Wolfgang:
> print B, next unless $matches and m/$matches/;
> !!! No comma allowed after filehandle at codes.pl line 85

"print B ($_), next ..." sollte es tuen.  Alternativ 
"unless ($matches and m/$matches/) { print B; next};"
Alternativ statt "print FILEHANDLE" ein "select FILEHANDLE"
machen und einfach "print" verwenden.

-Wolfgang



More information about the Cologne-pm mailing list