(keys ::) is the same as (keys %::) is the same as (keys %main::).
main:: is a scalar that contains the value main.
Just don't ask me why! Once again, I'm stumped!
I had hoped that Data::Dumper might shed some light on it but so far it hasn't.
In reply to Re: Why is (keys ::) legal syntax?
by Mr. Muskrat
in thread Why is (keys ::) legal syntax?
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |