[EMAIL PROTECTED] (Simon Cozens)  wrote on 15.08.00 in 
<[EMAIL PROTECTED]>:

>     iii) Never assume bytes.

Beware of breaking binary patching. That would be a very bad thing.

Silly example not entirely unlike code I've actually seen:

open B, "< /tmp/netscape.old";
$/ = undef;
$netscape = <B>;
close B;
$netscape =~ s[/X11/][/.ns/]g;
open B, "> /tmp/netscape.new";
print B $netscape;
close B;

MfG Kai

Reply via email to