Dear Frank,

It is unlikely you need to work on each character individually.  The regex
engine built in to perl is designed to do that hard work for you.  What are
you trying to achieve?

In the event you DO need to work character by character, you could:

my @array = $string =~ /./g;

Or:

my @array = split //, $string;

Jonathan Paton

-- 
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