----- Original Message ----- From: "Charles K. Clarkson" <[EMAIL PROTECTED]>
To: "'ActivePerl'" <[email protected]>
Sent: Tuesday, June 13, 2006 4:28 AM
Subject: RE: hash copy


Petr Vileta wrote:

: I have public hash and in sub{}

   A public hash sounds like a really bad idea. Why not use a
lexically scoped hash and specifically pass it into the sub?

This hash contain global variables for apllication. In principle this is "Program -> Setup". But if I invoke "Setup" dialog I want to have copy of this hash and make changes in this copy. If I press OK, the "copy" will be copied into primary hash, if I press Cancel the "copy" will be lost.

: (My server reject all messages from Yahoo and Hotmail. Send me
: your mail from another non-spammer site please.)

   Replace "reject" with "rejects"

Thank you ;-)


Petr Vileta, Czech republic
(My server rejects all messages from Yahoo and Hotmail. Send me your mail from another non-spammer site please.)


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to