Re: Integer data type

2008-07-04 Thread Roy M
Hi On Jul 4, 11:19 am, [EMAIL PROTECTED] (John W. Krahn) wrote: > perldoc perlnumber > Thanks, btw, are there any typeof command so I can check the data type of a scalar? Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.o

Re: Integer data type

2008-07-03 Thread Roy M
Hi, On Jul 4, 9:53 am, [EMAIL PROTECTED] (Yitzle) wrote: > OK. That wasn't clear. Perl doesn't have an int and string and char > datatypes per say. Perl has a scalar and an array and a hash. > Perl does this dynamic casting to int or string as needed. Yes, but even for dynamic casting During ad

Integer data type

2008-07-03 Thread Roy M
Conside the following codes: use POSIX; print LONG_MAX, "\n"; my $num = 994; print $num; Why $num is bigger than LONG_MAX ? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/