Perl: the Markov chain saw | |
PerlMonks |
preview a filehandle's next character WITHOUT changing the position of the handleby chengj86 (Initiate) |
on Nov 09, 2011 at 20:27 UTC ( [id://937206]=perlquestion: print w/replies, xml ) | Need Help?? |
chengj86 has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
What i'm trying to do here is to preview the next character in the filehandle WITHOUT changing its position (in a WHILE loop). (so no getc)
I have no idea how to do this. anybody knows any tricks???
Thx A LOT!
Cheng
Back to
Seekers of Perl Wisdom
|
|