repo.or.cz
/
pugs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[STDeco] Tie up a loose end from the pad->lex rename
[pugs.git]
/
examples
/
pipe_open.pl
blob
484c526664f86b2e7631c8fa0a450b9eaa0a0c6d
1
use
v6
;
2
3
my
$pugs
= (($*
OS
~~
any
<
MSWin32 cygwin msys
>)
??
"pugs.exe"
!!
"./pugs"
);
4
#say "using $pugs";
5
6
my
$pipe
=
Pipe
::
open
(
"
$pugs
-V"
, :
r
);
7
8
print
"got>
$_
\n
"
for
$pipe
.
lines
;