[svn:perlfaq] r12283 - perlfaq/trunk
[email protected] Sat, 27 Dec 2008 05:35:32 -0800 (PST)
| Newsgroups | perl.cvs.perlfaq |
|---|---|
| Message-ID | <[email protected]> |
Author: comdog Date: Sat Dec 27 05:35:31 2008 New Revision: 12283 Modified: perlfaq/trunk/perlfaq4.pod Log: * Fix pod error. No big whoop. Modified: perlfaq/trunk/perlfaq4.pod ============================================================================== --- perlfaq/trunk/perlfaq4.pod (original) +++ perlfaq/trunk/perlfaq4.pod Sat Dec 27 05:35:31 2008 @@ -1972,7 +1972,7 @@ if both hashes contain keys that are the same and if you want to leave the original hashes as they were. -If you want to preserve the original hashes, copy one hash (<%hash1>) +If you want to preserve the original hashes, copy one hash (C<%hash1>) to a new hash (C<%new_hash>), then add the keys from the other hash (C<%hash2> to the new hash. Checking that the key already exists in C<%new_hash> gives you a chance to decide what to do with the