On 08/04/2017 01:53 PM, ToddAndMargo wrote:
$ echo "a b c d" | perl6 -e 'say words[1]'

And with the . before words

$ echo "a b c d" | perl6 -e 'say .words[1]'
No such method 'words' for invocant of type 'Any'
  in block <unit> at -e line 1

Reply via email to