{ my $global = ...; sub doSomething { $global->whatever() } }