1 #!/usr/local/bin/perl -w
8 use Test::More tests => 7 ;
11 use_ok( 'File::Slurp', ) ;
19 foreach my $file ( qw( stdin STDIN stdout STDOUT stderr STDERR ) ) {
21 write_file( $file, $data ) ;
22 my $read_buf = read_file( $file ) ;
23 is( $read_buf, $data, 'read/write of file [$file]' ) ;