Re: Reading a particular line from a file On 06/20/2007 06:42 AM, Nath, Alok (STSD) wrote:
> Hi,
> 	Is it possible to read a particular line by line number ?
> 
> 	For e.g reading line 3 from a file.
> 
> 	I don't want to read each line and count.
> 
> Thanks
> Alok
> 

The module Tie::File makes this easy. However, you should probably read 
this anyway:

http://faq.perl.org/perlfaq5.html#How_do_I_change_dele




-- 
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/


