APM: The situation- Re: How to psudo-array: $a$b ???
Zach Vonler
zvonler at gmail.com
Tue Oct 24 09:18:19 PDT 2006
On 10/24/06, CaptNemo <CaptNemo at austin.rr.com> wrote:
> WHY IN THE HELL DOES SINGLE-QUOTES WORK WITH $qa BUT NOT WITH $qa[1]
> !?!?!?!?!?!?!
I guess you're asking what the difference between
$qa[$count] = param ('qa$count');
and
my $qa0 = param ( 'qa0' );
is, when $count == 0. The difference is that in the first case, the
argument to param is 'qa$count' and in the second the argument is
'qa0'. When you replaced the single quotes with double, the argument
to param in the first case became 'qa0', identical to the second case.
What you're assigning to ($qa0 vs. $qa[0]) has no effect here.
Later,
Zach
More information about the Austin
mailing list