Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Pushing Arrays

by xdg (Monsignor)
on Aug 15, 2005 at 13:00 UTC ( #483836=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @setargs = ( $set1, $set2 );
    
  2. or download this
    my $setargs_ref = [ $set1, $set2 ];
    
  3. or download this
    foreach my $set (whatever loop) {
        push @setargs, $set;
        push @{ $setargs_ref }, $set; # explicit dereference
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2023-04-01 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?