Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^3: Using Varibale for HAsh name

by Corion (Pope)
on Oct 22, 2010 at 17:05 UTC ( #866835=note: print w/replies, xml ) Need Help??

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

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

Replies are listed 'Best First'.
Re^4: Using Varibale for HAsh name
by shawshankred (Sexton) on Oct 22, 2010 at 17:57 UTC
    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://866835]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2018-07-22 10:55 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (454 votes). Check out past polls.