cfaust-dougot wrote: > I'm trying to create 2 different vars from the same template object > and it appears once I do so that whatever I set in one gets set in > the other. What am I missing? Is it because I'm creating a > reference? (I didn't think that was the case).
This is the case: you're just copying the reference, so both variables points at the same object. Simply create a new object with new(), or, if you really want to clone the object, use Storable::dclone() or the Clone module. » http://perldoc.perl.org/Storable.html » http://search.cpan.org/dist/Clone/Clone.pm -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Html-template-users mailing list Html-template-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/html-template-users