wackattack has asked for the wisdom of the Perl Monks concerning the following question:
0.004It's nothing fancy, just a list of numbers. I run this exact perl code on it:
0.003
0.004
0.006
0.006
0.008
0.006
0.006
0.006
0.005
0.006
0.007
0.007
and the copied file is only 2048 numbers long. I've opened both files with vim and :set list. I see nothing wrong in the data file. I just seemed to stop 58 numbers short of the end of the file. I had our system admin look at it and he can't figure it out. I am in complete dismay.open(INPUT2, "$ARGV[0]" . "_RMS") or die $!; open(DEBUG2,">debug2") or die $!; while(defined ($line = <INPUT2>)){ print DEBUG2 $line; } close(INPUT2); close(DEBUG2);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Bug in perl?
by GrandFather (Saint) on Apr 11, 2007 at 20:42 UTC | |
|
Re: Bug in perl?
by samtregar (Abbot) on Apr 11, 2007 at 18:58 UTC | |
|
Re: Bug in perl?
by Krambambuli (Curate) on Apr 11, 2007 at 20:17 UTC | |
|
Re: Bug in perl?
by graff (Chancellor) on Apr 12, 2007 at 13:09 UTC | |
|
Re: Bug in perl?
by BrowserUk (Patriarch) on Apr 11, 2007 at 19:51 UTC |