Re: ERR: 13: Missing right $]
am 27.07.2007 11:43:21 von PPPeter Makholm wrote:
> pp
>
>> Can anyone tell me how to fix this error in perl?
>> The above error point to the following line or perl code.
>>
>> %UN_MONTH= map { lc($MONTH[$_]), $_ } 0..$#MONTH ; # look up by
>> month name
>
> Works here:
>
> makholm@makholm:~$ perl -w -MData::Dumper -le '@MONTH = qw(Jan Feb
Mar Apr Maj Jun); %UN_MONTH= map { lc($MONTH[$_]), $_ } 0..$#MONTH ;
print Dumper \%UN_MONTH;'
> $VAR1 = {
> 'feb' => 1,
> 'jan' => 0,
> 'jun' => 5,
> 'mar' => 2,
> 'apr' => 3,
> 'maj' => 4
> };
>
> makholm@makholm:~$
> //Makholm
hi
thanks for the prompt reply.
that error is generated by the script downloaded from the following web
site:
http://www.jmarshall.com/tools/cgiproxy/
Are you able to get it working in yoru system?
Thanks
P