in reply to Re^2: iterating through scalar
in thread iterating through scalar

Maybe something like this:

c:\@Work\Perl\monks>perl -wMstrict -le "my $name = 'krishna'; print substr $name, 2, 1; " i
See substr.


Give a man a fish:  <%-(-(-(-<

Replies are listed 'Best First'.
Re^4: iterating through scalar
by yedukondalu (Acolyte) on Mar 20, 2015 at 05:54 UTC

    Thanks for your kind reply.