slurp without $/
use Path::Tiny qw/ path /;
my $document = path( "file" )->slurp;
$document = path( "file" )->slurp_raw;
$document = path( "file" )->slurp_utf8;
$document = path( "file" )->slurp( {binmode => ":raw"} );
In reply to Re^2: Matching data in a big file (slurp without $/)
by Anonymous Monk
in thread Matching data in a big file
by alexsc01
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |