From 178a9fbb4f2f1dcd1ac4a29030e7194a9920b3da Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 14 Mar 2013 16:12:30 +0000 Subject: fixed fetch-files-cba (argument parsing) diff --git a/fetch-files-cba.pl b/fetch-files-cba.pl index ddfdc18..ccb7d7e 100755 --- a/fetch-files-cba.pl +++ b/fetch-files-cba.pl @@ -39,7 +39,7 @@ binmode(STDIN, ":utf8"); binmode(STDOUT, ":utf8"); binmode(STDERR, ":utf8"); -if($#ARGV == 0) { +if(@ARGV == 0) { print "You have to supply a Series ID\n"; exit 1; } -- cgit v0.10.2