check the archives.
some people were having a problem with
the entire file being processed as one line
instead of line by line.
cliff rayman
genwax.com
Steven Clark wrote:
>
>
> I open the file needed for reading and then inside the loop whenever the
> first match occurs the loop is for some re
Well my saying is that everyone will be made to look like an fool at least
once a week came back and bit me this week :(
After posting the message I went to bed and started to think about it and
consequently solved my own problem.
Since I was using the SSI example from the eagle book the funct
Whooops, Steve,
I guess you should check whether your match is actually successful as in:
if (/(\d+):([0-9,]*):(.*)/) {
$id = $1;
$temp = $2;
$name = $3;
$CAT{$id}{"name"} = $name;
}
otherwise you get whatever $1/$2/$3 happen to be before the match.
I'm not going to respond to the general Perl question (this list isn't
for that), but I have to point this out:
> "Steven" == Steven Clark <[EMAIL PROTECTED]> writes:
Steven> m/(\d+):([0-9,]*):(.*)/;
Steven> $id = $1;
Steven> $temp = $2;
Steven> $name
Hello everyone,
Well over the past day I have been trying to debug this problem yet can't
figure out a solution.
Here is the problem, I am using the SSI program from the eagle book on page
94-104.
Now that works fine but I have a function that is in the include file which
needs to read in a c