Hello,
I am using EPIC with Eclipse 3.1 under XP. The debugger does not display
'my' variables declared in the global scope. Please see the following snippet:
==================
#use strict;
sub test() {
my $test='hello';
print $test,"\n";
print
}
$hello='world';
print $hello;
my $hello1='world';
print $hello1;
test();
================
The $hello variable appears in the debugger's variable view but not the
$hello1 which is declared with a 'my'.
The variable $test, declared as a 'my' within the test() sub, is visible
in the variable view though, when execution is halted within test().
Why is it that global 'my' variables are not visible while 'my' variables
in functions are?
thanks in advance for any help.
Raj