root/examples/pipe_open.pl

Revision 11293, 182 bytes (checked in by Darren_Duncan, 3 years ago)

replaced all 'use v6;' lines with 'use v6-alpha;' in 330 files (examples/, ext/, t/, t_disabled/) ... more remain to do

Line 
1use v6-alpha;
2
3my $pugs = (($*OS ~~ any <MSWin32 cygwin msys>) ?? "pugs.exe" !! "./pugs");
4#say "using $pugs";
5
6my $pipe = Pipe::open("$pugs -V", :r);
7
8print "got> $_\n" for =$pipe;
Note: See TracBrowser for help on using the browser.