On Wed, 15 Sep 2004, Edward WIJAYA wrote:

> How can I change the value of this array:
> 
> @array = ['1','2','3']; #which contain "string" numeric
> 
> to
> 
> @arrayNum = [1,2,3];  #as pure numeric
 
Does this even need to be done?

If you treat the elements of the array as numbers,
won't things Just Work ? 


-- 
Chris Devers

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


Reply via email to