Re: Check scripts in perl

Stanley Hopcroft <[email protected]>
Newsgroups gmane.network.netsaint.user
Message-ID <[email protected]>
Dear Sir,

On Tue, Sep 10, 2002 at 12:51:58PM +0200, Stefan Sonnenberg-Carstens wrote:
> .... snip 

I am writing to thak you for your letter and say that the standard thing
that goes wrong with Perl plugins is that Netsaint is built with the
embedded Perl intrepreter but the plugin is _not_ coded accordingly
(Python doesn't have this problem because as yet there is no built in
Python support in Netsaint)

The standard approach is 

. are you using Netsaint 0.0.7

  Yes
    continue
  No
    ignore me

. are you using the embedded Perl interpreter ?

 Yes
   continue
 No
   ignore me

. does the plugin run from the command line Ok

Yes
  probable coding problem
  Have a look in the docs for the embedded Perl Netsaint (under what's
new)

No
  ignore me

IIRC correctly, $PROGRAME can _not_ be set at run time (because the
script is cached) so is undef and the 'use strict' pragma in the
embedded Perl harness catches it and throws an error (you should see 'No
output' in the log if this is the case).

HTH



Yours sincerely.
 

 -- 
Stanley Hopcroft



ISIS
(Music by Bob Dylan, Words by Bob Dylan and Jacques Levy)
1975, 1985 Ram's Horn Music

I married Isis on the fifth day of May,
But I could not hold on to her very long.
So I cut off my hair and I rode straight away
For the wild unknown country where I could not go wrong.

I came to a high place of darkness and light.
The dividing line ran through the center of town.
I hitched up my pony to a post on the right,
Went in to a laundry to wash my clothes down.

A man in the corner approached me for a match.
I knew right away he was not ordinary.
He said, "Are you lookin' for somethin' easy to catch?"
I said, "I got no money." He said, "That ain't necessary."

We set out that night for the cold in the North.
I gave him my blanket, he gave me his word.
I said, "Where are we goin'?" He said we'd be back by the fourth.
I said, "That's the best news that I've ever heard."



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.