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 this a bit more after writing the email, and ended up changing my code to use array references, as that made something else much easier (the subtraction thing that I mentioned (but messed up a little) in another email). I think I'll look into the named params, also. However, they do introduce extra validity checking.
> Now, having said all of that, and knowing your end goal I wouldn't > bother at all, but would instead look at XML::Simple to handle all of my > XML processing (until getting really advanced). Then all you need to do > is build a data structure in normal Perl and pass it to XMLout and voila > beautiful XML. I am already using XML::Simple :) the function I described is basically part of an API, it uses XML::Simple to create the XML based on the parameters given. I want the function there as that is something that I will be doing a lot, and don't want to create the XML directly in the main program. (I'm using Perl as a fast-writing scriptable interace to my neural network, and have a module that is effectivly an API to the Java code, via XML). cheers, -- Robin <[EMAIL PROTECTED]> JabberID: <[EMAIL PROTECTED]> Hostes alienigeni me abduxerunt. Qui annus est? PGP Key 0x776DB663 Fingerprint=DD10 5C62 1E29 A385 9866 0853 CD38 E07A 776D B663
pgp00000.pgp
Description: PGP signature