in reply to sysread failure
I'm going to go out on a limb and guess it's because you read into $buf_e then try and parse things from $buf_d.
That aside, if the file's columns are separated by tabs then reading line by line and using Text::CSV_XS or even split would make more sense. Using sysread for line oriented input isn't the most obvious solution.
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|