Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset
Comments Off

Perl: comment fusionner deux ‘Hash’

Your ads will be inserted here by

Easy AdSense.

Please go to the plugin admin page to paste your ad code.


Download

#!/usr/local/bin/perl
 
# Hash2
my %mes_villes = ("Allemagne" => "Berlin",
    			  "Angleterre" => "Londre",
    			  "France" => 'Paris');
 
# Hash2
%mon_hash = ( "Janvier"  => 31,
          	  "Février"  => 28,
              "Mars" => 31,
              "Avril"  => 30,
              "Mai"  => undef );
 
 # Fusionner les deux Hash