You are wrong. They are both compiled identically. The statement my $val = $Some::Nonexistent::Pkg::variable does a lookup to the glob *Some::Nonexistent::Pkg::variable in both cases. As I said in my other node, the warning is disabled for modules.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
In reply to Re^2: "possible typo" warnings in modules
by diotalevi
in thread "possible typo" warnings in modules
by almut
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |