There are 2 ways I have seen to do this. One, 5.6 and higher, is to start the name with a ^. Blame Dominus
for this hack. The other one is to start the name with a '.
In both cases the variable is always kept in package main. And both syntaxes will not be supported in Perl 6.