Re: [SLUG] Perl Thing

From: Bob Stia (rnr@sanctum.com)
Date: Wed Feb 27 2002 - 03:15:56 EST


On Tuesday 26 February 2002 05:39 pm, you wrote:
> On Mon, 25 Feb 2002, Bob Stia wrote:
> > No installation required. The whole file is perl. Only problem
> > is that I cannot start the program. I have the proper version of
> > perl and Tcl/Tk. How does one start the script?
>
> There are a few issues that could raise their heads...
................<snip>........
> Assuming that's all ready to go, the script itself might reference
> its interpreter in a specific location. That is, the first line of
> the script might read
>
> #!/usr/local/bin/perl
>
> where *your* Perl is actually located in /usr/bin/perl. The way to
> get around this is to edit the script in question or just run the
> script like you do with java programs:
>
> perl /usr/local/games/solitaire
>
> If you *still* can't run the script, there's a few more things you
> can try. (More on that if these steps fail.)

Paul,

Thanks...My perl is in /usr/bin/perl as is also /usr/bin/perl5.6
I ran it as suggested perl /usr/local/games/pysol and I
received a reply: "Runtime error: Bad magic number in .pyc file"
At least that is something.... :-(
 More guidance please ?

Bob S



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:49:13 EDT