Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^2: Using Varibale for HAsh name

by shawshankred (Sexton)
on Oct 22, 2010 at 17:02 UTC ( #866834=note: print w/replies, xml ) Need Help??

in reply to Re: Using Varibale for HAsh name
in thread Using Varibale for HAsh name

Thanks. But that does not solve my problem. I want to populate the hashes with the data in the DB tables in one shot.

Replies are listed 'Best First'.
Re^3: Using Varibale for HAsh name
by Corion (Pope) on Oct 22, 2010 at 17:05 UTC

    See DBI for ->fetchrow_arrayref and the Slice => {} parameter.

      Got this code to work. Make sure you don't use my when creating the variables.
        See what you're supposed to do, after reading all parts of, is realize why its stupid to use a variable as a variable name :) the code is fundamentally unsafe, like smoking in bed while juggling flaming chainsaws in bed

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://866834]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2018-06-23 05:32 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (125 votes). Check out past polls.