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 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