https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25252

--- Comment #5 from Bernardo Gonzalez Kriegel <[email protected]> ---
There are 2 'my $result'

 my $result = GetOptions(
  'h|help'         => \$want_help
);

my $result = GetOptions(
    'h|help'         => \$want_help
);

also some suggestion about encoding

 FAIL   misc/export2collectionhq.pl
   FAIL   critic
                I/O layer ":utf8" used at line 52, column 1. Use
":encoding(UTF-8)" to get strict validation.
   OK     forbidden patterns
   OK     git manipulation
   OK     pod
   OK     spelling
   FAIL   valid
                "my" variable $result masks earlier declaration in same scope 

running with --help shows message but also the error
misc/export2collectionhq.pl --help
"my" variable $result masks earlier declaration in same scope at
misc/export2collectionhq.pl line 48.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to