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_at_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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Received on Thu May 22 1997 - 08:28:24 NZST