in reply to Re^6: globally seen variable
in thread globally seen vairable

junk.pl:

#! perl -slw use strict; use Junk; our $ERROR_FILE = 'fred'; Junk::showIt();

Junk.pm:

package main; our $ERROR_FILE; package Junk; use strict; use warnings; sub showIt { print $ERROR_FILE; } 1;
C:\test>junk.pl fred

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP an inspiration; A true Folk's Guy