our $var; *var = \$main::var;
I have recently come across the construct above, which is unfamiliar to me. "our" is reasonably clear (although I have made mistakes using it in the past so I may not know it as well as I think), but in combination with the second line, I am not sure what is going on. Could someone please point me to the relevant docs?
Regards,
John Davies
In reply to Unusual variable declaration by davies
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |