At 7:39 AM -0500 9/24/02, Puneet Kishor wrote:
>I couldn't even figure out how to recognize if a variable were an 
>array or a hash... wish there were an isarray() or ishash() function.

if (ref $var eq 'ARRAY') {
     print "It's an ARRAY ref\n";
}
if (ref $var eq 'HASH') {
     print "It's a HASH ref\n";
}

Sorry, I don't have any quick pointer for you on HTML-izing a complex 
data structure ... maybe someone else will ...

-- 
  Ray Zimmerman  / e-mail: [EMAIL PROTECTED] / 428-B Phillips Hall
   Sr Research  /   phone: (607) 255-9645  /  Cornell University
    Associate  /      FAX: (815) 377-3932 /   Ithaca, NY  14853

Reply via email to