File-Slurp
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
use File::Slurp qw(read_file);
use Test::More;
plan tests => 1;
my $proc_file = "/proc/$$/auxv";
SKIP: {
skip "Can't find pseudo file: $proc_file", 1 unless -r $proc_file;
my $data_do = do{ local( @ARGV, $/ ) = $proc_file; <> };
my $data_slurp = read_file($proc_file);
is($data_do, $data_slurp, 'pseudo');
}
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.823 second using v1.00-cache-2.02-grep-82fe00e-cpan-c9a218a2bbc )