Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

(tye)Re: push

by tye (Sage)
on Jan 31, 2001 at 04:19 UTC ( #55409=note: print w/replies, xml ) Need Help??


in reply to push

mapcar { push @{$facdata{$_[0])}, $_[1] } \@facfields, \@facrow;

Is that more what you wanted? If you don't want to use mapcar (type mapcar in the PM Search box to find it), then you can code that like:

for( 0..$#facfields ) { push @{ $facdata{$facfields[$_]} }, $facrow[$_]; } # or push @{ $facdata{$_} }, shift @facrow for @facfields;

Hope that helps.

        - tye (but my friends call me "Tye")

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2022-01-29 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (74 votes). Check out past polls.

    Notices?