in reply to invoking perl scripts....

Do you have the shebang line at the top of your script?
What's a shebang line you ask? It's how the shell knows what interpreter to use to run the script. It's a #! followed by the path to perl. #!/usr/bin/perl

Try /usr/interfaces/scripts/ instead.
And that failing then /usr/bin/perl /usr/interfaces/scripts/

Matthew Musgrove
Who says that programmers can't work in the Marketing Department?
Or is that who says that Marketing people can't program?

Replies are listed 'Best First'.
Re: Re: invoking perl scripts....
by pepik_knize (Scribe) on May 02, 2002 at 14:45 UTC
    This sounds like your problem to me, too. I would only add to carefully check that shebang line. I can't tell you how many times I've typed: !#/usr/bin/perl -wor#!/usr/bin/prel -wor#!/bin/usr/perl -w One quick way tell if this isn't the problem is if you can invoke the script from the command line.

    Let us know if you still have problems.


    PS /usr/bin/perl should be replaced with whatever comes up when you type which perlat the command line.

    Here's what I get:

    $ which perl /usr/bin/perl