APM: How to psudo-array: $a$b ???
CaptNemo
CaptNemo at Austin.rr.com
Tue Oct 24 07:52:48 PDT 2006
Anyone know if it's possible (and how) to make a psudo-array?
Meaning, is there a way to make an array WITHOUT using an array variable:
I wanted three sets of 5 variables:
$a1 $b1 $c1
$a2 $b2 $c2
$a3 $b3 $c3
$a4 $b4 $c4
$a5 $b5 $c5
...but I really didn't want to use an @array variable (I'm having trouble
with param() with array variables).
I'd like to use a FOR loop to handle these variables but, perl doesn't like:
for ($count.....
{
$a$count = par....
$b$count =....
$c$count...
}
(I think perl sees these as two variables)
Any of you guys know how I can do this (without an @array)?
More information about the Austin
mailing list