Hi 

How will I get the character by character(just like getchar in C) wit PERL

In this program...

open IN,"D:/test.txt";
@file=<IN>;

print "file is $file[0]";

This will print the first line of the txt file...I wanted to get character by 
character...

How will I get it. Please help

Thanks
AK



Reply via email to