Skip to content

Instantly share code, notes, and snippets.

@fujiwara
Created October 13, 2009 09:30
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 fujiwara/209118 to your computer and use it in GitHub Desktop.
Save fujiwara/209118 to your computer and use it in GitHub Desktop.
package Example;
my @FOO = qw/ foo /;
sub nested {
sub {
sub {
warn @FOO;
}->();
}->();
}
1;
__END__
$ perl -MExample -e "Example::nested()"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment