Hello. Got an interesting question: what is $:: variable?
According to perldata there is no such special variable. According to perl variable syntax it's unnamed variable from main package. But if I dump %main:: - it's not there. But it's somewhere, because i can store and retrive data from it.
Read wonderful article about symbol tables but it didn't helped.
So, what is this thing?
And one more question: how several double-colon in a row being treated? Like $::::somevar ?
In reply to Perl nuances: unnamed variable
by hurricup
in thread Creating Perl5 plugin for Intellij IDEA (Camelcade)
by hurricup
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |