Hi all. As I have known before, "my" declares a variable that is local to a
function. My question, why don't I get an undefined in the following code
example? Shouldn't my @wq be erased after the function exits? Thanks.
Jess

sub jess{ my @wq = ( 1, 2, 3, 4 ); \@wq; }

$r = &jess;

print $r->[0];


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to