Path: utzoo!attcan!uunet!decwrl!wuarchive!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!fuchs From: fuchs@it.uka.de (Harald Fuchs) Newsgroups: comp.lang.perl Subject: Editing in-place a binary file Keywords: perl -i Message-ID: Date: 30 Oct 90 18:45:22 GMT Sender: news@ira.uka.de (USENET News System) Organization: University of Karlsruhe, FRG Lines: 11 The One True Manual Page sez: -iextension specifies that files processed by the <> construct are to be edited in-place. This works fine if you read your files via "while (<>) { ... }", but what about binary files you'd like to read via "read (??, $var, $size)"? What filehandle must be used? I tried STDIN and ARGV, but nothing worked. -- Harald Fuchs ... *gulp*