Open a text file

2004-09-29 Thread Eduardo Vázquez Rodríguez
Hello everyone I have a question, how do I open a file in a specific line number, for example I want to open a text file exactly on line number 5, Thanks in advanced -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/>

Re: Open a text file

2004-09-29 Thread Chris Devers
On Wed, 29 Sep 2004, Eduardo Vázquez Rodríguez wrote: > I have a question, how do I open a file in a specific line number, for example > I want to open a text file exactly on line number 5, What have you tried so far? What problems did you have? Show us what you've tried and

Re: Open a text file

2004-09-29 Thread Eduardo Vázquez Rodríguez
open a file in a specific line number, for example I want to open a text file exactly on line number 5, What have you tried so far? What problems did you have? Show us what you've tried and we can make suggestions. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Open a text file

2004-09-30 Thread Jenda Krynicky
From: Eduardo Vázquez Rodríguez <[EMAIL PROTECTED]> > Thanks Chris I try this and works > >$. = 0; > do > { > $_ = > } > until $. == 5; Looks a bit too involved. Why not just for (1..5); ? > WHILE I believe you meant