I think you will find out that this is frowned up on within Perl.
You can do it, but you would be better off using the values of app and bank
to create a key and then use a hash and anonymous array within the hash to
hold the values you want.

Wags ;)

-----Original Message-----
From: Stephane Legault [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 14, 2002 12:29
To: [EMAIL PROTECTED]
Subject: question regarding variable...


Here is what I tried to do:

Create a new variable from the value of two other
variable!! Exemple.
$var1="app";
$var2="Bank";

I want use those two variable to create a array or a
hash with the name appBank. By these way I will be
able to use $appBank[0].

I need that because I call a subroutine to create a
lot of array or hash and I want the name of each hash
or array taked from two other value of variable.

__________________________________________________________
L�che-vitrine ou l�che-�cran ?
magasinage.yahoo.ca
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


**********************************************************
This message contains information that is confidential
and proprietary to FedEx Freight or its affiliates.
It is intended only for the recipient named and for
the express purpose(s) described therein.
Any other use is prohibited.
****************************************************************

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to