Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^9: Problem with traversing a two dimensional array (to create an arrayref use [ ] )

by no_slogan (Deacon)
on Jan 17, 2014 at 00:13 UTC ( [id://1070871]=note: print w/replies, xml ) Need Help??


in reply to Re^8: Problem with traversing a two dimensional array (to create an arrayref use [ ] )
in thread Problem with traversing a two dimensional array

Accessing elements with an index ... you can do with an array and not with a list.

Why do you say that? Are you assuming that "list" means "linked list"? That's not what we mean by "list" in Perl.

I think you're right about the element count in scalar context. I seem to remember reading something like "there's no standard way of converting a list to a scalar," but I can't remember where.

Anyway, I'm not trying to be argumentative, I'm just trying to clear up misunderstandings people might have with Perl. And I sometimes post anonymously when I'm on public wireless access points. Happy perling to you.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-03-28 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found