At 0:09 -0300 1999.08.12, Sébastien Maury wrote: > Hi, > > I am learning perl to do file manipulation. I managed to do >what I want with text file but I have to convert big (about 100Mo) >text data file (list of points coord.) in binary file. Is it possible >? For example, I would like to convert line input : > >x = 12.1 y = 13.4 > >in the binary form >XXXX YYYY (float on 4 bytes) > >Is there a special option in the open statement or something like that ? Macs (and MacPerl) don't distinguish between binary and text files like DOS and its derivatives do. Just open as you normally would. If the program is going to be used on a platform that distinguises between text and binary, then after you open FILEHANDLE, do a binmode(FILEHANDLE). -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org