Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (1)
As of 2023-09-23 21:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?