Re: style of functions with complex arguments

2004-01-30 Thread Robin Sheat
On Fri, Jan 30, 2004 at 07:40:06AM -0700, Wiggins d Anconia wrote: > immediately if all of the needed options have been passed in. Second, > for your triples I would use array references, and for the set of 3 > triples I would use an array reference as well. So my call looks like, I looked at thi

Re: style of functions with complex arguments

2004-01-30 Thread Jeff 'japhy' Pinyan
On Jan 30, Robin Sheat said: >I have a function that takes a fairly complex set of arguments, and am >wondering if there is a better way of doing this than the way I have >done. A call to the function, as I have it, looks like: > >$network->potentiateWeights('network',1,(0,0,0, >

Re: style of functions with complex arguments

2004-01-30 Thread Wiggins d Anconia
> > I have a function that takes a fairly complex set of arguments, and am > wondering if there is a better way of doing this than the way I have > done. A call to the function, as I have it, looks like: > > $network->potentiateWeights('network',1,(0,0,0, >