Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!usc!isi.edu!sondeen From: sondeen@isi.edu (Jeff Sondeen) Newsgroups: comp.lang.perl Subject: Differentiating strings and numbers in an array? Message-ID: <16574@venera.isi.edu> Date: 31 Jan 91 04:33:23 GMT Reply-To: sondeen@venera.isi.edu (Jeff Sondeen) Organization: Information Sciences Institute, Univ. of So. California Lines: 9 I want to add an offset to the numbers in an array that contains both numbers and strings, like (0,"b",1) -> (3,"b",4), but I can't differentiate the numeric 0's from the strings that have numeric value 0. Can it be done or should I try some other limb? Thanks, /jeff -- /jeff sondeen@isi.edu "engineers were discouraged from bringing problems to the attention of their supervisors" -- John Magnus, final report, Hubble Space Telescope investigation