I have seen this error message often.  For me it always happens when some object 
method takes a reference to a hash argument (sometimes optionally) and you pass it a 
reference to an empty hash or just missing certain keys.  It might well happen with 
other method calls when passed bad data.  

-John 

> ----------
> From:         Charles Albrecht
> Sent:         Wednesday, February 12, 2003 12:06 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: [MacPerl] syntax error
> 
> At 7:29 AM +0100 2/12/2003, [EMAIL PROTECTED] wrote:
> >
> >I have this message:
> >
> ># Can't modify concatenation (.) or string in scalar assignment, near
> >"extern:"
> >File 'disc-extern:macperl5:perl561r2:MacPerl f:Mhonarc:install'; Line 1
> ># syntax error, near "extern:"
> >File 'disc-extern:macperl5:perl561r2:MacPerl f:Mhonarc:install'; Line 1
> ># Execution of disc-extern:macperl5:perl561r2:MacPerl f:Mhonarc:install
> >aborted due to compilation errors.
> >
> >I don't understand the syntax error; I don't find in the Perl: a
> >beginner 's guide book, first edition, translated in spanish.
> >thanks for your help,
> 
> It is unlikely that we can understand the syntax error without any context. It 
>appears that you are attempting to work with the file:
> 
>   disc-extern:macperl5:perl561r2:MacPerl Y:Mhonarc:install.me
> 
> perhaps in an eval. perhaps with a one-liner. I'm not certain. I can't reproduce the 
>error
> 
> 
> There is one thing you need to keep in mind. MHonArc will not install transparently 
>with MacPerl. It will not install as easily under MacPerl as it will under a unix-y 
>perl. Despite some window dressing in install.me, the install.me script will not 
>install MHonArc on MacPerl without serious hacking. (The check for a valid perl 
>executable, for instance, attempts to call "perl -v" and test the result for 
>/\bperl\b/i - this will fail with MacPerl.)
> 
> And yet, it is very likely that many of the files and directories (unpacked using 
>the MacPerl-supplied 'installme' droplet) will work directly with MacPerl without 
>going through the extra steps of an install process.
> 
> I would check here and mhonarc.org and the mhonarc.org mailing lists to see whether 
>anyone has suggestions on how to utilize Mhonarc with MacPerl.
> 
> -Charles
>  Euonymic Solutions
> 
> 
> 

Reply via email to