At any rate -- I discovered why I couldn't make the $main::var work (which I had tried) - I use 'use strict'. Check the code:
use strict; my $fish = "Trout"; print "Works: $fish\n"; print "Not : $main::fish\n";
Which doesn't work as I'd expect (or would hope it to) at all.
Can you chaps enlighten me further as to this conundra?
--JP
In reply to Re: Who's who in interpackage global vars
by JPaul
in thread Who's who in interpackage global vars
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |