in reply to Evaluating Multidimensional Arrays and References
You are evaluating it in array context, try:
and your print statment should be:if ($self->{_mydata}[2][3] eq "John") or if ($$self{_mydata}[2][3] eq "John")
print $self->{_mydata}[2][3]; or print $$self{_mydata}[2][3];
|
---|
In Section
Seekers of Perl Wisdom