>>>>> "fc" ==   <[EMAIL PROTECTED]> writes:

  fc> So is it usefull to make sence out of these : 

  fc> hash ^[op] hash 
  fc> hash ^[op] array 
  fc> hash ^[op] scalar 

  fc> array ^[op] array
  fc> array ^[op] scalar

well, you can't mung the keys to a hash, just the values. so why not
just use the values method as an [lr]value? this works already in perl5.

        %hash.values [+]= 10 ;

        %hash1.values [+]= %hash2.values ;

now that may fail as the order of the values would be different so use a
slice:

        %hash1.values [+]= %hash2{%hash1.keys} ;

uri

-- 
Uri Guttman  ------  [EMAIL PROTECTED]  -------- http://www.stemsystems.com
----- Stem and Perl Development, Systems Architecture, Design and Coding ----
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org

Reply via email to