Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Evaluating Multidimensional Arrays and References

by c-era (Curate)
on Aug 10, 2001 at 19:46 UTC ( #103918=note: print w/replies, xml ) Need Help??


in reply to Evaluating Multidimensional Arrays and References

You are evaluating it in array context, try:
if ($self->{_mydata}[2][3] eq "John") or if ($$self{_mydata}[2][3] eq "John")
and your print statment should be:
print $self->{_mydata}[2][3]; or print $$self{_mydata}[2][3];

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://103918]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2022-01-25 00:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (65 votes). Check out past polls.

    Notices?