Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

More info: array of hashes

by chumley (Sexton)
on Apr 25, 2001 at 23:06 UTC ( #75570=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @diary_entry = keys %{$diary_data[0]};
    for $temp (@diary_entry) {
        print "$temp\n";
    }
    
  2. or download this
    $ ./send_referral.pl 0000079100
    Diary ID: 536870914
    timestamp
    value
    user
    
  3. or download this
    print "$temp: $diary_data[0]{$temp}\n";
    
  4. or download this
    $ ./send_referral.pl 0000079100
    Diary ID: 536870914
    ...
    Argument "NWORLASTE800 LOGIN FAILED\nNWORLASTE801 LOGIN FAIL\n\nWA..."
    + isn't numeric in helem at ./send_referral.pl line 201.
    Bad index while coercing array into hash at ./send_referral.pl line 20
    +1.
    $
    
  5. or download this
    @diary_entry = values %{$diary_data[0]};
    print "@diary_entry\n";
    
  6. or download this
     # Another try:
        my %hash = %{$diary_data[0]};
    ...
        for $temp (@diary_entry) {
            print "$temp\n";
        }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://75570]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2023-12-06 10:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (30 votes). Check out past polls.

    Notices?