Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: how to find the how many elements are present in an array

by soonix (Monsignor)
on Jan 18, 2014 at 08:21 UTC ( #1071073=note: print w/replies, xml ) Need Help??


in reply to Re^2: how to find the how many elements are present in an array
in thread how to access each element in an array?

Your $array[0] is not an array but a (scalar) string. see How can I access or change N characters of a string?. Me, too, wanted to point you to perlintro, but perhaps you should have a glance at perldsc and - more importantly - on How do I post a question effectively?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1071073]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2017-06-22 19:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (528 votes). Check out past polls.