tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: loi huynh <lhuynh () newscorp ! com ! au>
To: tru64-unix-managers
Subject: SUMMARY: Perl 5.002 socket call on DEC OSF/1 - HELP
Date: Thu, 22 May 1997 06:12:21 +0000	[thread overview]
Message-ID: <96078612210541.tru64-unix-managers.marc@archive.invalid> (raw)

Thank you all to those who reponsed to my query regarding Perl5.002 and
socket all.

THE PROBLEM:
Perl 5.002 was compiled without any error on a DEC OSF/1 v3.2 using DEC
C.
I ran into an error message when I try to use socket calls on using a
simple client/server sample (let me know if you like to see the source
code).

I got the following message for both the server and the client but line
3 in my Perl code is a blank.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Scalar found where operator expected at (eval 58) line 3, near "*($p"
        (Missing operator before $p?)

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

SOLUTION:

Some suggested to get a later version of Perl (5.0039) you can get it at
http://www.perl.com/

Spider Broadman (spider@Orb.Nashua.NH.US) mentioned that h2ph is of
little use and recommended its replacement with:

package main;
use Socket;
1;

and these solved the problem.


Once again thanks you for all your help,


Loi Huynh.
-- 
~~~~~~~~~~~~~~~~~~~~~~o~0~o~~~~~~~~~~~~~~~~~~~~~~~
News Interactive               (PH)+61-2-9288-3635
2 Holt Street Surry Hills      (FX)+61-2-9288-3171
NSW Australia 2010            http://www.ni.com.au
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                 reply	other threads:[~1997-05-22  6:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox