SUMMARY: perl5 on solaris8

From: <matthew.hannigan_at_nl.abnamro.com>
Date: Mon Nov 05 2001 - 10:33:33 EST
Solution:

edit and comment out the first line of the _h2ph_pre.ph script
so that it looks like this:

     #unless (defined &) { sub () { "" } }



Some people suggested that I run h2ph.  It should have been clear that I
already had.
Some said this is a common problem with Perl.  That would be ok, except
this is the
version of Perl that Sun include with Solaris8.  You should expect it to
just work.


Regards,
     -Matt


Original question.

I'm getting an error with the version of perl5 that Sun include in
Solaris8.

The error is:
     Warning: Use of "defined" without parens is ambiguous at /usr/perl5/site_perl/5.005/sun4-solaris/_h2ph_pre.ph line 2.
     Can't use subscript on subroutine entry at /usr/perl5/site_perl/5.005/sun4-solaris/_h2ph_pre.ph line 2, near "} }"
     (Did you mean $ or @ instead of &?)
     syntax error at /usr/perl5/site_perl/5.005/sun4-solaris/_h2ph_pre.ph line 4, near "unless"

As far as I can tell, _h2ph_pre.ph was created at the same time that I had h2ph generate syslog.ph.


Regards,
     -Matt


---------------------------------------------------------------------------
This  message  (including  any  attachments)  is  confidential  and  may be
privileged.  If you have received it by mistake please notify the sender by
return  e-mail  and  delete this message from your system. Any unauthorised
use  or  dissemination  of  this  message  in  whole or in part is strictly
prohibited.  Please  note  that e-mails are susceptible to change. ABN AMRO
Bank  N.V.  (including  its  group  companies)  shall not be liable for the
improper  or  incomplete  transmission of the information contained in this
communication  nor  for  any delay in its receipt or damage to your system.
ABN  AMRO  Bank  N.V.  (or its group companies) does not guarantee that the
integrity   of  this  communication  has  been  maintained  nor  that  this
communication is free of viruses, interceptions or interference.
---------------------------------------------------------------------------


_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Nov 5 09:38:13 2001

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:27 EST