in reply to Re: sysread and null characters
in thread sysread and null characters
At this point, after adding the ".*", it's doing just what I expected. Hurray!
As to the need for ++$i; don't I need to change the offset each time I read the file in order to step further into the file to get the next digit? You seem to be implying that that's unneeded. Does sysread auto-increment it's own offset when it's used in a loop? If I just remove the ++, I get a runaway loop, so I guess not. What did you have in mind, please?
I could leave it just the way it is, but I'd rather understand sysread a little better.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: sysread and null characters
by Tanktalus (Canon) on Mar 24, 2005 at 16:31 UTC | |
by ggg (Scribe) on Mar 24, 2005 at 17:18 UTC | |
by Tanktalus (Canon) on Mar 24, 2005 at 18:10 UTC | |
by ggg (Scribe) on Mar 24, 2005 at 18:50 UTC |