my $content = $path->slurp; my @lines = $path->lines; my @lines = $path->lines_utf8; my @lines = $path->lines( { chomp => 1 } ); my @lines = $path->lines( { chomp => 1, binmode => ':gzip' } );
my $content = $path->slurp; my @lines = $path->lines; my @lines = $path->lines_utf8; my @lines = $path->lines( { chomp => 1 } ); my @lines = $path->lines( { chomp => 1, binmode => ':gzip' } );