in reply to Re: Varying Variable Names
in thread Varying Variable Names

Even if it's strongly not recommended, I need to know how to do it. If I can just name my arrays @array1, @array2, etc it will be easier for what I'm doing.

Replies are listed 'Best First'.
Re: Re: Re: Varying Variable Names
by merlyn (Sage) on Oct 16, 2001 at 02:09 UTC
    If the answer is "I need a variable-variable name", you almost certainly asked the wrong question. What question were you answering here? And what question was that a larger part of?

    -- Randal L. Schwartz, Perl hacker

Re: Re: Re: Varying Variable Names
by blakem (Monsignor) on Oct 16, 2001 at 01:02 UTC
    Convince us that you really need to do it (i.e. tell us a bit more about what you are doing) and we'll help you get it done. I have almost never seen an instance when @array1, @array2, etc. was the right thing to do, nor made things any easier.

    -Blake