No such thing as a small change | |
PerlMonks |
Read a variable backwards..by sathya83aa (Acolyte) |
on Jan 06, 2014 at 12:01 UTC ( [id://1069494]=perlquestion: print w/replies, xml ) | Need Help?? |
sathya83aa has asked for the wisdom of the Perl Monks concerning the following question: Hi all.. I have a variable in perl which has some 20 numbers substr from a file. The data in the variable looks like 8940163...835 What I want to do is to read the data in the variable backwards character by character. To elaborate I should read the above mentioned line as 5 first, 3 second, 8 third and so on. Any help on this is appreciated. Thanks & Regards, Sathya V.
Back to
Seekers of Perl Wisdom
|
|