... special vars like $_ which always belong to main:: without full qualification
...unless $_ is lexicalized in the current scope :)
$_=666; { my $_=777; print $_; # -> 777 print $main::_; # -> 666 }
(just meaning to say that $_ isn't the best example — otherwise I agree of course)
In reply to Re^5: A curious case of of my() (What is GLOBAL?)
by Eliya
in thread A curious case of of my()
by fleetingflicker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |