Tatiana Lloret Iglesias wrote:
Hi all!
Hello,
i'm running the following dummy program which just opens a file and I get an
error (die message)
#!/usr/bin/perl
if ( @ARGV[0] eq '' )
@ARGV[0] is an array slice (a list) and it makes no sense to compare a
list to a string. It looks like
On May 12, 2008, at 09:05, Tatiana Lloret Iglesias wrote:
Hi all!
i'm running the following dummy program which just opens a file and
I get an
error (die message)
#!/usr/bin/perl
if ( @ARGV[0] eq '' )
{
print "\nUSAGE:\n\t genenames.pl genes.txt \n\n";
exit;
}
my $file = $ARGV[0];
Hi all!
i'm running the following dummy program which just opens a file and I get an
error (die message)
#!/usr/bin/perl
if ( @ARGV[0] eq '' )
{
print "\nUSAGE:\n\t genenames.pl genes.txt \n\n";
exit;
}
my $file = $ARGV[0];
open(FICH,"$file") or die "cannot open $file";
I've tried t