Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Re: Extracting array of hashes from data

by srawls (Friar)
on Jun 10, 2001 at 00:50 UTC ( #87233=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    push @{$alldata{$key }}, \%temphash
  2. or download this
    $hash{$key} = \%temphash;       # $hash{$key} is a reference to %temph
    $hash{$hey} = \@array;          # $hash{$key} is a reference to @array
    $hash{$key} = {KEY => 'value'}; #$hash{$key} is a reference to an anon
    +ymous hash
    $hash{$key} = [1,2,3];          #$hash[$key] is a reference to an anon
    +ymous array

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://87233]
[chacham]: the same thing could be achieved with a trigger
[LanX]: choroba yes
chacham shudders at the thought of using a evil
LanX will need to find a Perl workaround ... :-|
LanX leaving his cave to enjoy sun! *\o/*

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2017-03-30 15:14 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (360 votes). Check out past polls.