Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl open(F1,"tax.pl"); while($line=<F1>) { chomp $line; @arr=split(/"\n"/,$line); print "@arr\n"; } open(F2,"accno.pl"); { while($line1=<F2>) { chomp $line; @arr1=split(/"\n"/,$line1); print "@arr1\n"; } } open(F3,"ptax.pl"); while($line=<F3>) { chomp $line; @arr3=split(/"\n"/,$line); print "@arr3\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how can i read only the last line of a files
by davorg (Chancellor) on Aug 03, 2006 at 09:53 UTC | |
by Anonymous Monk on Aug 03, 2006 at 16:13 UTC | |
|
Re: how can i read only the last line of a files
by liverpole (Monsignor) on Aug 03, 2006 at 11:37 UTC | |
|
Re: how can i read only the last line of a files
by rodion (Chaplain) on Aug 03, 2006 at 10:24 UTC | |
|
Re: how can i read only the last line of a files
by GrandFather (Saint) on Aug 03, 2006 at 10:10 UTC | |
|
Re: how can i read only the last line of a files
by perladdict (Chaplain) on Aug 03, 2006 at 10:03 UTC | |
by davidrw (Prior) on Aug 03, 2006 at 11:57 UTC | |
|
Re: how can i read only the last line of a files
by sh1tn (Priest) on Aug 03, 2006 at 21:32 UTC |