in reply to Re: getting the name of a variable to use as string
in thread getting the name of a variable to use as string
where foo1..foon are column names of a thoroughly denormalized relational table each row of which I want to put into a hash of hashes. Looks like a job for a code generator ;-) Thanks all for your help!$hash{'foo1'} = $foo1; $hash{'foo2'} = $foo2; ... $hash{'foon'} = $foon;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: getting the name of a variable to use as string
by tachyon (Chancellor) on Sep 17, 2004 at 03:08 UTC | |
by pmneve (Novice) on Sep 20, 2004 at 18:46 UTC | |
by tachyon (Chancellor) on Sep 21, 2004 at 00:54 UTC | |
by pmneve (Novice) on Sep 21, 2004 at 21:33 UTC | |
|
Re^3: getting the name of a variable to use as string
by sgifford (Prior) on Sep 17, 2004 at 06:07 UTC | |
by tilly (Archbishop) on Sep 17, 2004 at 14:50 UTC | |
by pmneve (Novice) on Sep 20, 2004 at 18:57 UTC |