I disagree. What about this:
#!/usr/bin/perl use strict; use warnings; my $data = <<EOF; first second EOF open my $fh, '<', \$data; binmode $fh; my $binary = <$fh>; print "$binary\n";
Greetings,
-jo
In reply to Re^4: Error binmode() on unopened filehandle
by jo37
in thread Error binmode() on unopened filehandle
by RedJeep
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |