http://qs321.pair.com?node_id=247556


in reply to Re: help needed on encoding a text file
in thread help needed on encoding a text file

binmode FILE; print FILE pack("N",$i);

pack takes a list of values, and returns a string obtained by packing them as indicated by the first argument. Look at perldoc.

-- 
        dakkar - Mobilis in mobile