use strict; use test_module; our %hash = ( foo => 'bar', bar => 'foo' ); &test;
use strict; sub test { print $main::hash{foo} . "\n"; }
In reply to Re: variables across modules
by tcf22
in thread variables across modules
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |