my $this_is_an_anonymous_sub_that_is_not_a_closure = sub { print "hello" }; BEGIN { my $message = "this is a closure that is not an anonymous sub"; sub here_it_is { print "$message\n"; } }