in reply to Re^3: I'm having a strange bug with basic file input. I'm a total newb.
in thread I'm having a strange bug with basic file input. I'm a total newb.
$line=<INPUT>; $studentname = substr($line,0,20); $test1 = substr($line,21,3); ...
(Though I'm sure a few monks can come up with an unpack solution or a module that handles fixed-width fields)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: I'm having a strange bug with basic file input. I'm a total newb.
by holli (Abbot) on Dec 05, 2008 at 11:46 UTC | |
by KingCupons (Initiate) on Dec 05, 2008 at 17:21 UTC | |
|
Re^5: I'm having a strange bug with basic file input. I'm a total newb.
by ikegami (Patriarch) on Dec 05, 2008 at 11:36 UTC |