in reply to Re: Re: dynamically initializing variables with perl
in thread dynamically initializing variables with perl
Try the following map (untested):
It should give something like:my @C = map { param("C$_") || 'OFF' } 0..$msgcount - 1;
$C[0] = "ON"; $C[1] = "OFF"; $C[2] = "ON";
In Section
Seekers of Perl Wisdom