Re: ERR: 13: Missing right $]
- From: pp <pp@xxxxxx>
- Date: Fri, 27 Jul 2007 19:43:21 +1000
Peter Makholm wrote:
> pp <pp@xxxxxx> writes:
>
>> 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
.
- Prev by Date: Re: CPAN module validation process
- Next by Date: Simplest Makefile.PL
- Previous by thread: Re: weirdness with CPAN modules that use Data::Dumper
- Next by thread: Simplest Makefile.PL
- Index(es):
Relevant Pages
|
|