http://www.perlmonks.org?node_id=704442


in reply to Variables as a variable name... (I know you shouldn't but...)

Greetings,
Assuming you are using DBI have a look at this method to get what you want. As far as I can tell from your post that should do it.

-InjunJoel
"I do not feel obliged to believe that the same God who endowed us with sense, reason and intellect has intended us to forego their use." -Galileo
  • Comment on Re: Variables as a variable name... (I know you shouldn't but...)

Replies are listed 'Best First'.
Re^2: Variables as a variable name... (I know you shouldn't but...)
by Skeeve (Parson) on Aug 15, 2008 at 05:54 UTC

    Hey! That looks GREAT! ++ & Thanks for telling us. I never noticed that when scanning through perldoc DBI


    s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
    +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e