On Fri, 1 Feb 2002, mb wrote:

> I 'm asking if there a dynamic way to generate variable names.

There are easier ways that what you are thinking of.

> $id;
> foreach(@_){
>     my($var1     ----> in the second time my($var2     -----> my($varn
>
> Thanks a lot in advance,

I'd just create an array or a hash -- that's the simplest and safest way
of doing what you want.

-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
LILO, you've got me on my knees!
        -- David Black, [EMAIL PROTECTED], with apologies to Derek and the
Dominos, and Werner Almsberger



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to