Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Getting HASHES out of Class::DBI

by rkg (Hermit)
on Jan 07, 2004 at 04:12 UTC ( [id://319345]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # untested code
    my %hash = (name    => lc $user->name,
                address => $user->address,
                groupname => $user->group->name);
    
  2. or download this
    # untested code
    my %hash = $user->hashy; # pump all the fields into a hash
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-03-28 17:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found