determining type of referance

2003-09-23 Thread Dave Odell
Is there a test I can do to determine the type of reference that has been created? ie. array of arrays, array of hashes, hash of hashes. I'm in a position where I didn't created the reference but still need to access it.

WWW::Mechanize ->links() problem

2003-09-11 Thread Dave Odell
Question: I'm trying to use the links(); function which in the man page says "returns a list of the links found in the last fetched page. " However when I try @LINKS = $agent->links(); foreach(@LINKS){ print "$_\n"; } it returns WWW::Mechanize::Link=ARRAY(0x84a731c)