Apurva Shukla wrote, on Tue 6/14/2005 09:28
: XYZ can be an 'Array of hashes' or a 'Single Hash'
:
: Now if I want to traverse all that is contained in XYZ I first read the array length
: and then traverse it one by one.
:
: How can I get a length of an array and in case its not an array I can know its length
: is zero.
 
perldoc -f ref
 
Look for "HASH" or "ARRAY" in the return value of ref.
 
Joe
 

==============================================================
          Joseph P. Discenza, Sr. Programmer/Analyst
               mailto:[EMAIL PROTECTED]
 
          Carleton Inc.   http://www.carletoninc.com
          574.243.6040 ext. 300    fax: 574.243.6060
 
Providing Financial Solutions and Compliance for over 30 Years
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to