in reply to how to store binary string?
If it's in a file, you just read the file into the string and don't worry.
From the perlfaq (perldoc -q "How can I read in an entire file all at once?"):
{ local(*INPUT, $/); open (INPUT, $file) || die "can't open $file: $!"; binmode INPUT; # needed if you are on Windows $var = <INPUT>; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to store binary string?
by polettix (Vicar) on May 11, 2005 at 23:00 UTC |