I'm having problems setting up ActiveState from the RPMs. Everything seems
to run fine, and I can even run a simple script by typing "$ perl test", but
I can't get it to execute a script without including "perl" in front of it.
I made it executable with "$ chmod +x test", but when I run it nothin
>I'm having problems setting up ActiveState from the RPMs. Everything seems
>to run fine, and I can even run a simple script by typing "$ perl test",
>but
>I can't get it to execute a script without including "perl" in front of it.
>I made it executable with "$ chmod +x test", but when I run it
Why doesn't the program bellow work:
Perl complains about some uninitialised value at line 13, but there
everything seems to be OK...
#!/bin/perl -w
use Fcntl;
use English;
my($fname) = $ARGV[0];
open(FIN, "<$fname") or die "Cannot open $fname\n";
$RS = undef;
my($strng) = ;
my($fct);
fcntl(F
The value is not initialized. As the error states, $fct has not been
initialized (assigned a value). Initialize $fct by assigning a value to it.
my $fct = 0;
or
my($fct);
$fct = 0;
etc...
Bear in mind that this is only a warning, not a critical error. This error
does
Dana 12.01.01, Elston, Jeremy napisa:
> The value is not initialized. As the error states, $fct has not been
> initialized (assigned a value). Initialize $fct by assigning a value to it.
> my $fct = 0;
> or
> my($fct);
> $fct = 0;
> etc...
> Bear in mind that this is only a wa
I'm having problems setting up ActiveState from the RPMs. Everything seems
to run fine, and I can even run a simple script by typing "$ perl test", but
I can't get it to execute a script without including "perl" in front of it.
I made it executable with "$ chmod +x test", but when I run it nothin
<9 Jan 2001, 13:01 Uhr wars, als Martin Moss schrieb:>
< How to check if a Module is install >
> I wish to write an installation script which will accompany a new module
> I've written,
> It must install the new module, and then check for the presence of some
> other "inhouse" written modules. If
Manesh,
Perl is on Linux 7, I installed using RPMs I got from ActiveState's site
(http://www.activestate.com/Products/ActivePerl/Download.html - Linux RPM).
Here's the code:
#!/usr/bin/perl
$Incoming = ;
print $Incoming;
print ("\n\n Hello for Test \n\n");
Perl is installed into /usr/bin -
> I'm having problems setting up ActiveState from the RPMs. Everything seems
> to run fine, and I can even run a simple script by typing "$ perl test", but
> I can't get it to execute a script without including "perl" in front of it.
> I made it executable with "$ chmod +x test", but when I run i
Murray Nesbitt wrote:
>
> > I'm having problems setting up ActiveState from the RPMs. Everything seems
> > to run fine, and I can even run a simple script by typing "$ perl test", but
> > I can't get it to execute a script without including "perl" in front of it.
> > I made it executable with "$
10 matches
Mail list logo