thanks to everyone for the suggestions
On 11/1/06, Mumia W. [EMAIL PROTECTED] wrote:
On 11/01/2006 01:44 PM, jm wrote:
On 11/1/06, John W. Krahn [EMAIL PROTECTED] wrote:
Use a hash:
my %oob = (
state = 'IL',
lata = 732,
name = 'SomeName',
);
If you don't think
i'm trying to build variables dynamically from data passed to a
subroutine. i pass a text value (a field from a database) and want to
build an associated variable name by appending a prefix to the field
name ($oob_fieldname). that constructed variable would then acquire
the value of the
jm wrote:
i'm trying to build variables dynamically from data passed to a
subroutine. i pass a text value (a field from a database) and want to
build an associated variable name by appending a prefix to the field
name ($oob_fieldname). that constructed variable would then acquire
the value
On 11/1/06, jm [EMAIL PROTECTED] wrote:
i'm trying to build variables dynamically from data passed to a
subroutine. i pass a text value (a field from a database) and want to
build an associated variable name by appending a prefix to the field
name ($oob_fieldname).
Perl allows you to do
On 11/1/06, John W. Krahn [EMAIL PROTECTED] wrote:
Use a hash:
my %oob = (
state = 'IL',
lata = 732,
name = 'SomeName',
);
If you don't think that you need a hash then be aware that what you are trying
to do is actually using a hash anyways (the %main:: hash.)
John
--
On 11/01/2006 01:44 PM, jm wrote:
On 11/1/06, John W. Krahn [EMAIL PROTECTED] wrote:
Use a hash:
my %oob = (
state = 'IL',
lata = 732,
name = 'SomeName',
);
If you don't think that you need a hash then be aware that what you
are trying
to do is actually using a hash