On Friday 04 November 2005 12:12 pm, jean wrote:
> hello there,
>
> Being new to PERL, I've found this very informative list and I've
> been playing around with PERL a bit.
>
> Right now I'm working on some code that picks up items from my
> database and calculates the total stock for identical items. I've
> created a small database to try out my script.
>
> Now I've probably made more stupid mistakes than anyone on this list
> has ever made. Also I bet there are different and more efficient ways
> to write code that performs this function. However my main problem is
> that the script does not do what I expect and I can't figure out why.
> In the output all the lines are printed twice, where I expect them to
> appear only once. The totals are calculated correctly.
>
> So if anyone here can help me, that would be very much appreciated
>
> thanks, jean
>

Hi Jean

I'm struggling to see what you're trying to do.  Could you give me an 
examle of the schema/data you're working from.  I'd like to have a go 
at rewriting this one to see how well I do.

Gary

-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to