Need help with Hashes

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

Need help with Hashes
  1. Unread #1 - Jul 22, 2008 at 10:44 PM
  2. MCR__Ftw
    Joined:
    Mar 19, 2007
    Posts:
    1,084
    Referrals:
    0
    Sythe Gold:
    0

    MCR__Ftw Guru
    $5 USD Donor

    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) >

Users viewing this thread
1 guest


 
 
Adblock breaks this site