Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Replacing a list with one variable

by Ea (Hermit)
on Nov 21, 2013 at 12:15 UTC ( #1063725=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    my @bookIDList = qw(abc ghj zxc bnm qwe rty iop sdf ert);
    my $param = = {
                     IDs => [ @bookIDList ], 
  2. or download this
    my $param = = {
                     IDs => \@bookIDList, 
  3. or download this
    my $param = = {
                     IDs => [ qw(abc ghj zxc bnm qwe rty iop sdf ert) ], 
                     sort => "AUTHOR",
                     maxResults => 100

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2015-11-30 11:25 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (769 votes), past polls