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 @lines = $path->lines( { binmode => ':gzip:crlf:encoding(CP1252)' } );