HP3000-L Archives

September 1999, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"BIXBY,MARK (HP-Cupertino,ex1)" <[log in to unmask]>
Reply To:
BIXBY,MARK (HP-Cupertino,ex1)
Date:
Wed, 29 Sep 1999 17:01:53 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (41 lines)
> -----Original Message-----
> From: Michael D. Hensley [mailto:[log in to unmask]]
> Sent: Wednesday, September 29, 1999 2:32 PM
> To: [log in to unmask]
> Subject: PERL help needed!
>
>
> I'm getting the following error when trying to execute the
> the "ipcshm" Perl
> script.
>
> Here are the first couple of lines of ipcshm:
>
> #!/usr/bin/perl
> eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
>         if $running_under_some_shell;
>
> require 'sys/ipc.ph';
> require 'sys/shm.ph';
>
> and here's the error:
>
> $/PERL/PUB/src/perl5.005_01/eg/sysvipc/ipcshm
> Number found where operator expected at (eval 14) line 1, near ")0"
>         (Missing operator before 0?)
> usage: ipcshm {r|s}
>
> Any ideas?

I have dim memories of doing something in Perl with some svipc shm scripts,
but I don't know if that was the same as what you're trying to do above.  I
don't recall any problems though.

One obvious thing to check are the *.ph files.  The h2ph file conversion
process is far from error-free.  Visually inspect your *.ph files for any
syntax errors.  If nothing is obvious, you'll have to turn on run-time
execution tracing.  I don't have those options memorized, so you'll have to
RTFM.

- Mark

ATOM RSS1 RSS2