Skip to content

Instantly share code, notes, and snippets.

@notbenh
Created October 8, 2010 00:04
Show Gist options
  • Save notbenh/616149 to your computer and use it in GitHub Desktop.
Save notbenh/616149 to your computer and use it in GitHub Desktop.
Use of uninitialized value in subroutine entry at /usr/local/share/perl/5.10.1/Exporter/Declare.pm line 62.
not ok 1 - use Util::Timeout;
# Failed test 'use Util::Timeout;'
# at /opt/git/site/tests/t/Util/Timeout.t line 15.
# Tried to use 'Util::Timeout'.
# Error: Could not find sub '1' in Exporter::Declare for export at /view/bin/Util/Timeout.pm line 4
# BEGIN failed--compilation aborted at /view/bin/Util/Timeout.pm line 4.
# Compilation failed in require at (eval 16) line 2.
# BEGIN failed--compilation aborted at (eval 16) line 2.
not ok 2 - main->can(...)
# Failed test 'main->can(...)'
# at /opt/git/site/tests/t/Util/Timeout.t line 16.
# main->can('timeout') failed
# main->can('retry') failed
Number found where operator expected at /opt/git/site/tests/t/Util/Timeout.t line 26, near "timeout 1"
(Do you need to predeclare timeout?)
Number found where operator expected at /opt/git/site/tests/t/Util/Timeout.t line 27, near "timeout 2"
(Do you need to predeclare timeout?)
Number found where operator expected at /opt/git/site/tests/t/Util/Timeout.t line 28, near "timeout 1"
(Do you need to predeclare timeout?)
Number found where operator expected at /opt/git/site/tests/t/Util/Timeout.t line 33, near "timeout 2"
(Do you need to predeclare timeout?)
Number found where operator expected at /opt/git/site/tests/t/Util/Timeout.t line 37, near "timeout 1"
(Do you need to predeclare timeout?)
Number found where operator expected at /opt/git/site/tests/t/Util/Timeout.t line 41, near "timeout 0.5"
(Do you need to predeclare timeout?)
Number found where operator expected at /opt/git/site/tests/t/Util/Timeout.t line 42, near "timeout 0.5"
(Do you need to predeclare timeout?)
Number found where operator expected at /opt/git/site/tests/t/Util/Timeout.t line 44, near "timeout 0"
(Do you need to predeclare timeout?)
syntax error at /opt/git/site/tests/t/Util/Timeout.t line 26, near "timeout 1"
syntax error at /opt/git/site/tests/t/Util/Timeout.t line 27, near "timeout 2"
syntax error at /opt/git/site/tests/t/Util/Timeout.t line 28, near "timeout 1"
syntax error at /opt/git/site/tests/t/Util/Timeout.t line 33, near "timeout 2"
syntax error at /opt/git/site/tests/t/Util/Timeout.t line 33, near "; }"
syntax error at /opt/git/site/tests/t/Util/Timeout.t line 37, near "timeout 1"
syntax error at /opt/git/site/tests/t/Util/Timeout.t line 37, near "; }"
syntax error at /opt/git/site/tests/t/Util/Timeout.t line 41, near "timeout 0.5"
syntax error at /opt/git/site/tests/t/Util/Timeout.t line 42, near "timeout 0.5"
syntax error at /opt/git/site/tests/t/Util/Timeout.t line 44, near "timeout 0"
/opt/git/site/tests/t/Util/Timeout.t has too many errors.
1..2
# Looks like you failed 2 tests of 2.
# Looks like your test exited with 2 just after 2.
shell returned 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment