* SUMMARY: Perl 5.002 socket call on DEC OSF/1 - HELP
@ 1997-05-22 6:12 loi huynh
0 siblings, 0 replies; only message in thread
From: loi huynh @ 1997-05-22 6:12 UTC (permalink / raw)
To: tru64-unix-managers
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-05-22 6:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-22 6:12 SUMMARY: Perl 5.002 socket call on DEC OSF/1 - HELP loi huynh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox