On Wed, 28 Dec 2005, Umesh T G wrote:

> I want an alternative solution, if any.

Here's one:

$ perl -le '$i = "abcd"; @j = split //, $i; print join "\n", @j;'
a
b
c
d
$ 


-- 
Chris Devers

0ª¸IQ'‘éL
-- 
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