String to Character Array

From: Frank Westfield (frankw_at_fwadev.com)
Date: 12/07/04


Date: Mon, 06 Dec 2004 23:41:02 +0000
To: beginners@perl.org

Is there a Perl equivalent of Java String.toArray method?

I need to get an Alpha-Numeric string (16 plus consecutive characters) into
an array or hash of characters to allow manipulation of the individual
characters. The use of substr to extract each characters is unweildy.

Any suggestions would be welcome.

Regards

Frank Westfield - Managing Consultant
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
FW Associates - IT Consultants
Address: 4 Dell Close, Broadstone, Dorset BH18 9NL UK
Phone: +44(0)1202-656000 Fax: +44(0)1202-656009
EMail: frankw@fwassociates.co.uk
Regards

Frank Westfield - Managing Consultant
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
FW Associates - IT Consultants
Address: 4 Dell Close, Broadstone, Dorset BH18 9NL UK
Phone: +44(0)1202-656000 Fax: +44(0)1202-656009
EMail: frankw@fwassociates.co.uk
Regards

Frank Westfield - Managing Consultant
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
FW Associates - IT Consultants
Address: 4 Dell Close, Broadstone, Dorset BH18 9NL UK
Phone: +44(0)1202-656000 Fax: +44(0)1202-656009
EMail: frankw@fwassociates.co.uk