Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leto/328889 to your computer and use it in GitHub Desktop.
Save leto/328889 to your computer and use it in GitHub Desktop.
parrot_shell 2> $P0 = new 'FixedStringArray', 5
say $P0
.
Time: 0.0164859 wallclock secs
Output:
[ "", "", "", "", "" ]
parrot_shell 3> $P0 = new ['FixedStringArray'], 5
say $P0
.
Error: child exited with value 1
Time: 0.0155749 wallclock secs
Output:
init_pmc() not implemented in class 'FixedStringArray'
current instr.: 'main' pc 0 (/var/folders/B3/B3qJ-edQFWKuziEWXxoYbU+++TI/-Tmp-/uqxyEgMOVK:3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment