[EMAIL PROTECTED] wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Puneet, hi list

You are on the right list, it's an H::T issue and has nothing to with
CGI::Session. I discovered the same some weeks ago.

It seems than H::T can contaminate your data structure - for the sake
of speed, no copying is done in H::T. If it really bothers you, you
might consider using a clone package (try
http://search.cpan.org/search?query=clone&mode=all) to first copy
your data structure, then let H::T work on the clone and discard it
after displaying.



Markus,

Thanks for the reply. This is very informative, and I will follow your suggestion (and hope the H-T developers will consider this as a problem to be solved).

But, my question is -- where on earth did I let H-T "contaminate" my AofH? I am hand-crafting my own AofH --

    # A hash to hold the current rolodex entry
    my %rolodexentry = (
    ROLODEXVAL => $rolodexval,
    ROLODEXTEXT => $rolodextext
    );

    # Add the current rolodexentry to the existing rolodex
    push(@rolodex, \%rolodexentry);

Where, o, where is H-T even touching all this?

Thanks,

Puneet.


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to