If you need something like that, you would be better off using a hash to hold
the information vs a number of unknown variable names.
I believe that this will be confirmed by the list helpers.
Wags ;)
-----Original Message-----
From: mb [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 01, 2002 13:37
To: [EMAIL PROTECTED]
Subject: generate variable names
Hi all,
I 'm asking if there a dynamic way to generate variable names.
$id;
foreach(@_){
my($var1 ----> in the second time my($var2 -----> my($varn
Thanks a lot in advance,
asma
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]