is there a type() function in perl? i need to be able to test the contents of an array and
if (type($value)=='string' or type($value)=='int') {print "i win";}

thats basically what i need to be able to do. if it helps i know ahead of time that the two type in the array will always be a hashref or a string,
thanks

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


Reply via email to