Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Using placeholders in selectall_arrayref

by Happy-the-monk (Monsignor)
on Jan 11, 2006 at 13:30 UTC ( #522437=note: print w/ replies, xml ) Need Help??


in reply to Re: Using placeholders in selectall_arrayref
in thread Using placeholders in selectall_arrayref

So to speak...

my $employees_loh = $dbh->selectall_arrayref($query2, {Slice => {}}, $employer);

(This was not missing in Fang's reply, but this might be clearer to both DBI and perlreferences newbees.
It would sureley have confused me when I was one.)

Cheers, Sören


Comment on Re^2: Using placeholders in selectall_arrayref
Re^3: Using placeholders in selectall_arrayref
by bradcathey (Prior) on Jan 11, 2006 at 13:48 UTC

    Thanks Happy-the-monk! I didn't understand that the {Slice => {}} was the \%att as shown in the doc. Nice to see an example. Perfect.


    —Brad
    "The important work of moving the world forward does not wait to be done by perfect men." George Eliot
Re^3: Using placeholders in selectall_arrayref
by vagabonding electron (Hermit) on Jun 03, 2012 at 13:18 UTC
    Awesome example.
    Faced the same problem as newbee and found enlightenment here.
    Many thanks.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2014-07-31 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (255 votes), past polls