Adblock breaks this site

Need help with Hashes

Discussion in 'Web Programming' started by MCR__Ftw, Jul 22, 2008.

  1. MCR__Ftw

    MCR__Ftw Guru
    $5 USD Donor

    Joined:
    Mar 19, 2007
    Posts:
    1,084
    Referrals:
    0
    Sythe Gold:
    0
    Need help with Hashes

    Hey, I was reading a tutorial on Perl. So far I understand everything, except hashes. I have absolutely no idea how to use them. Here's my failed attempt at a "word frequency counter". The tutorial I read doesn't explain hashes very well. So go ahead and laugh at my feeble attempts.

    Code:
    use feature ':5.10';
    
    my @word = "erere"
    my %letter_e = ( "e" => 1 );
    say "%letter_e";
     
< Need help making a form | HTML Tutorial (Find out how to learn HTML) >


 
 
Adblock breaks this site