I am using a while loop to read a file like
open (IN, "a.txt" ) )
while(<IN>)
{
---
---
}
This will read the entire file reading line by line.Now the problem is that
inside the while loop at some particular place i want to read just one
line(next line) without going back to main loop.I am trying using readline
function but it is not working
open (IN, "a.txt" ) )
while(<IN>)
{
---
---Here i want to read the next line without going back to the main loop
----
}
Please let me know how to do it
regards
Saurabh
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl