title: One liner nested hash creation in Ruby? (I come from Perl)
body: <p>I am a Perl person and I have made Hashes like this for a while:</p>
  
  <pre>
  my %date;
  
  #Assume the scalars are called with 'my' earlier
  
  $date{$month}{$day}{$hours}{$min}{$sec}++
  </pre>
  
  <p>Now I am learning Ruby and I have so far found that using this tree is the way to do many keys and a value. Is there any way to use the simple format that I use with Perl using one line?</p>
  
  <pre>
   @date = {                                                                                                                                                                      
          month => {                                                                                                                                                                 
            day => {                                                                                                                                                                 
             hours => {                                                                                                                                                              
                min => {                                                                                                                                                             
                  sec => 1                                                                                                                                                           
                }                                                                                                                                                                    
              }                                                                                                                                                                      
            }                                                                                                                                                                        
          }                                                                                                                                                                                                                                                                                                                                                     
        }                   
  </pre>