Skip to content

Instantly share code, notes, and snippets.

@berekuk
Created June 9, 2012 22:49
Show Gist options
  • Select an option

  • Save berekuk/2902912 to your computer and use it in GitHub Desktop.

Select an option

Save berekuk/2902912 to your computer and use it in GitHub Desktop.
mmcleric@mmbook:~$ perl -E 'my @x = (1,2); sub f { @x }; say @x ~~ f();'
mmcleric@mmbook:~$ perl -E 'my @x = (1,2); sub f { @x }; say @x ~~ @{ [ f() ] };'
1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment