wstarrs has asked for the wisdom of the Perl Monks concerning the following question:
I know that my syntax is wrong on the $Persfile$x part, how to I express it if I want the file names to to be Persfile1, Persfile2... the number at the end of the variable needs to match the x placeholder? Thanks, billfor ($x=0; $x<3; $x++) { @perschecked[$x] = $Persfile$x; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I append an extension onto a variable name?
by Ovid (Cardinal) on May 10, 2001 at 23:40 UTC | |
|
Re: How do I append an extension onto a variable name?
by srawls (Friar) on May 11, 2001 at 03:57 UTC | |
|
Re: How do I append an extension onto a variable -name-?
by Anonymous Monk on May 11, 2001 at 10:02 UTC |