Roy M wrote:
Hi

Hello,

On Jul 4, 11:19 am, [EMAIL PROTECTED] (John W. Krahn) wrote:

perldoc perlnumber

btw, are there any typeof command so I can check the data type of a
scalar?

You can use ref(): <QUOTE> You can think of "ref" as a "typeof" operator. </QUOTE>

perldoc -f ref


Also Scalar::Util has the looks_like_number and reftype subroutines.

perldoc Scalar::Util



John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order.                            -- Larry Wall

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to