On Thu, 19 Jul 2001, Steve Howard wrote:

> You are saying this worked on Unix? I see one statement that I think
> should be causing you problems with matching the numbers of parameters
> expected with the number you have provided:
> 
>       $sth->execute(@parm) or die ("$stmt Error\n");
> 
> That should be trying to execute with a single value: the length of @parm. 

That's wrong.

@parm will be evaluated in list context because function parameters are
always in list context unless a prototype overrides it, and object methods
can't have prototypes.

Try it yourself sometime.

- D

<[EMAIL PROTECTED]>

Reply via email to