File: filetemp.t

package info (click to toggle)
libperl6-slurp-perl 0.051005-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 148 kB
  • sloc: perl: 148; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 201 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
use Test::More;

plan tests => 1;

$SIG{__WARN__} = sub { die @_ };

use Perl6::Slurp 'slurp';
use File::Temp;
my $fh = File::Temp->new;

my $str = slurp $fh;

is $str, q{} => 'Works with File::Temp';