What is the pipe symbol doing to my array?
[email protected] (ToddAndMargo via perl6-users) Sun, 2 Nov 2025 13:25:23 -0800
| Newsgroups | perl.perl6.users |
|---|---|
| Message-ID | <[email protected]> |
Hi All,
I see what is happening, but exactly what I am not sure:
[0] > my @x="a","b","c","d";
[a b c d]
[1] > say @x
[a b c d]
[1] > say |@x
abcd
I ask because I want to know its effect is on
my $proc = run(|@x, :err, :out)
Many thanks,
-T