my $fh = open("test", :w); spurt $fh, "stuff\n"; #### my $wfh = open("in.txt", :w); spurt $wfh, "a\n"; $wfh.close; #### Type check failed in binding $path; expected Cool but got IO::Handle (IO::Handle.new(:path(...) in block at nl.pl6 line 2
## my $wfh = open("in.txt", :w); spurt $wfh, "a\n"; $wfh.close; ##
## Type check failed in binding $path; expected Cool but got IO::Handle (IO::Handle.new(:path(...) in block at nl.pl6 line 2