From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078612210541.tru64-unix-managers.marc@archive.invalid> From: loi huynh Date: Thu, 22 May 1997 06:12:21 +0000 To: tru64-unix-managers Subject: SUMMARY: Perl 5.002 socket call on DEC OSF/1 - HELP X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078612210541 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~