Not sure how clear my title is, but im new to perl and had no other way to really describe it. What I'm trying to do is something like this:
if(condition){
my $VAR = " ";
}
Then later use $VAR somewhere else...
if(! $USR){
my $USR = "$VAR";
}
Is there a way to call a scalar that is referenced elsewhere that has been bracketed off? {}
Thanks in advance...