Skip to content

Instantly share code, notes, and snippets.

@edenc
Created January 21, 2013 10:26
Show Gist options
  • Select an option

  • Save edenc/4585129 to your computer and use it in GitHub Desktop.

Select an option

Save edenc/4585129 to your computer and use it in GitHub Desktop.
sub foo { print @_ }
sub bar { @_[ 0 .. @_ - 1 ] = qw(bar); goto &foo }
my @quux = "baz";
bar(@quux);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment