: 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
- String deconstruction? Ross Larner
- Re: String deconstruction? Paul
- Re: String deconstruction? M.W. Koskamp
- Re: String deconstruction? Sean McAfee
- Re: String deconstruction? David H. Adler
- Re: String deconstruction? M.W. Koskamp
- Re: String deconstruction? David H. Adler
- Re: String deconstruction? Paul Cotter
- Re: String deconstruction? Timothy Kimball
- Re: String deconstruction? Timothy Kimball
- Re: String deconstruction? David H. Adler