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
d is subject to archival and review by
someone other than the recipient
-Original Message-
From: Nikola Knezevic [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 12:25 PM
To: [EMAIL PROTECTED]
Subject: [Perl-unix-users] fcntl()
Why doesn't the program bellow work:
Perl compla
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