in reply to Re: How to Check whether the Function Parameter is a Scalar or a Hash
in thread How to Check whether the Function Parameter is a Scalar or a Hashref
Be careful about ref $data. If it's blessed, your checks will fail. Whether or not that matters, of course, depends upon the needs of the particular program.
Cheers,
Ovid
New address of my CGI Course.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to Check whether the Function Parameter is a Scalar or a Hash
by sauoq (Abbot) on Oct 06, 2005 at 02:05 UTC |