Story, Lenny wrote:

> Greetings,
> 
> Is there a way to determine the type of a reference at runtime ?  If for
> example a subroutine returns a Reference to a variable which could be a
> Hash, Array  or Scalar. The program should be able to determine how to
> access it...

perlfunc manpage under 'ref'.  Also check perlref/perlreftut.

-- 
  ,-/-  __      _  _         $Bill Luebkert    Mailto:[EMAIL PROTECTED]
 (_/   /  )    // //       DBE Collectibles    Mailto:[EMAIL PROTECTED]
  / ) /--<  o // //      Castle of Medieval Myth & Magic http://www.todbe.com/
-/-' /___/_<_</_</_    http://dbecoll.tripod.com/ (My Perl/Lakers stuff)

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to