Subject: | [patch] Dosn't pass tests (need localize @ARGV) |
perl: 5.10.1 (but I think bug exists in any version)
Self test t/basic.t:
# Failed test 'command died with the correct string'
# at t/basic.t line 41.
# got: 'the widget name is wname - frob your fat face
# '
# expected: 'the widget name is wname - your fat face
# '
Problem:
In $cmd->run(\%opt,\@args) the command is present in the first element
of the @args array, but shouldn't.
Path can be obtained from my github repo:
http://github.com/vovkasm/moosex-app-
cmd/commit/ed791b12623e07f6c8eac7c443018db050b0fca9
(it's similar that App::Cmd doing)