uday_sagar has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I am having a very big file around 100 lines. I have to create a file dumping these 100 lines into it.
I know the concept of writing a line-
"print MYFILE "abc, def";I cant repeat the above statement for 100 of my lines! Any easy way?
Thanks in Advance
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Writing many lines to a file
by cavac (Prior) on Jul 16, 2012 at 13:17 UTC | |
|
Re: Writing many lines to a file
by gri6507 (Deacon) on Jul 16, 2012 at 12:47 UTC | |
|
Re: Writing many lines to a file
by daxim (Curate) on Jul 16, 2012 at 12:44 UTC | |
|
Re: Writing many lines to a file
by aitap (Curate) on Jul 16, 2012 at 13:23 UTC | |
|
Re: Writing many lines to a file
by uday_sagar (Scribe) on Jul 16, 2012 at 13:10 UTC | |
by cavac (Prior) on Jul 16, 2012 at 13:27 UTC | |
|
Re: Writing many lines to a file
by uday_sagar (Scribe) on Jul 16, 2012 at 13:37 UTC | |
by cavac (Prior) on Jul 16, 2012 at 18:23 UTC | |
|
Re: Writing many lines to a file
by pvaldes (Chaplain) on Jul 16, 2012 at 21:42 UTC |