P is for Practical | |
PerlMonks |
Re: Accessing the hash name in perlby duyet (Friar) |
on Mar 22, 2017 at 12:34 UTC ( [id://1185442]=note: print w/replies, xml ) | Need Help?? |
It can be easier :) Define your hash in eg. My_var.pm:
Mind "our $test;" and "1;" at the end of package file. Info on our. In your script, just include the package
Output:
In Section
Seekers of Perl Wisdom
|
|