[EMAIL PROTECTED] schreef: > How to find out the specific variable contains integer value. In my > script ,variable is storing some value but I want to find out whether > that value is string or integer.
In Perl, data types are like scalar, array, hash. Operator types are like numeric, string. $ perl -wle '$x="7.5e2"; print $x; print 0+$x; print "0"+$x' 7.5e2 750 750 -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/