Hi All,
What am I doing wrong here?$ echo -e "abc\ndef\nghi" | perl6 -e 'for ( split "\n", lines ) { say "<$_>"; }'
<abc def ghi> I am trying to get <abc> <def> <ghi>
Hi All,
What am I doing wrong here?$ echo -e "abc\ndef\nghi" | perl6 -e 'for ( split "\n", lines ) { say "<$_>"; }'
<abc def ghi> I am trying to get <abc> <def> <ghi>