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>; }
In reply to Re: how to store binary string?
by rduke15
in thread how to store binary string?
by redss
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |