Hi,
Thanks for your comments..

I like to know what does the below represents..

$'

Regards,
Praveena
Jeff Pang wrote, On 11/07/2007 06:48 PM:

--- Praveena Vittal <[EMAIL PROTECTED]> wrote:

Hi all,

I like to know how can we read a line next to the current position in a file .


Hi,

<FD> in scalar context will read next line.ie,

open FD,"file" or die $!;
<FD> for (1..3);

# now you're in No.3 line,again we say:

scalar <FD>; # no you're in the No.4 line





National Bingo Night. Play along for the chance to win $10,000 every week. Download your gamecard now at Yahoo!7 TV. http://au.blogs.yahoo.com/national-bingo-night/





--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to