Yup, that did it, thanks John
On Wednesday 18 September 2002 10:19 pm, Josh Chamas spewed into the ether: > Brat Wizard wrote: > > Josh, I have a quick question-- is there a problem passing a complex > > (non-scalar) variable in the arguments of an XMLSubs function?? I am > > having problems passing hashes to the function. > > > > Ex. > > > > my $hash = { blah blah blah }; > > <my:sub args="$hash"> > > some stuff > > </my:sub> > > This should work: > > <% my $hash = { key => 'value' }; %> > <my:sub args=$hash> > some stuff > </my:sub> > > The trick with XMLSubs is that the argument values > are treated as raw perl code. This will change in 3.0 > with the new syntax of args="<%= $hash %>" to do the same thing. > But the current method will have a XMLSubsPerlArgs flag that > can be set to keep backwards compatible. > > Regards, > > Josh > ________________________________________________________________ > Josh Chamas, Founder phone:925-552-0128 > Chamas Enterprises Inc. http://www.chamas.com > NodeWorks Link Checking http://www.nodeworks.com -- -------------------------------------------------------------------------------- Check out http://www.Wizard.Org for great deals on Electronic Parts *NEW* Computer Parts & Accessories - Drives - LCD - Systems - Linux -------------------------------------------------------------------------------- ** Affordable Online Store w/Merchant Card Processing & Paypal ** Write to us: [EMAIL PROTECTED] -- Get your Store Online Today! -------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]