: Hello.  I am attempting to print a string one character at a time.  Right now I am 
:using one while loop with chop to create a new string, the reverse of the original 
:string, then another while loop with chop on the reversed string to print out the 
:characters.  I'm sure there's a more straight-forward way of doing this - any ideas?

How about splitting the string on nothing to get an array of the characters?

my @letters = split '', $string;

Then you can do what you want with `em.

-- tdk

Reply via email to