in reply to Re: Matching data in a big file
in thread Matching data in a big file
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"} );
|
|---|