Lance said:

> Is there a way to determine a type of variable?  i.e.  If I want to test a
> variable for what type it is: scarlar, array, hash, arrayref, hashref,
> etc.

The sigil will tell you the type, but if you have a scalar and want to
know what it references, use ref().

perldoc -f ref

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to