Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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 http://perl.plover.com/varvarname.html, 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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2018-02-17 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (250 votes). Check out past polls.

    Notices?