ironcamel/Net-OpenStack-Compute — pull request #3 by leto (2012-05-26 19:34:44+00:00)
Title: Instantiation bug

The last test in this diff gives this error:

```
t/01-basic.t .. strictures.pm extra testing active but couldn't load all modules. Missing were:

indirect multidimensional bareword::filehandles

Extra testing is auto-enabled in checkouts only, so if you're the author
of a strictures using module you need to run:

cpan indirect multidimensional bareword::filehandles

but these modules are not required by your users.

ok 1 - instantiation with no argument throws an exception
ok 2 - instantiation with only auth_url argument throws an exception
ok 3 - instantiation with only auth_url, user arguments throws an exception
Can't use string ("1") as a subroutine ref while "strict refs" in use at (eval 43) line 45.
# Tests were run but no plan was declared and done_testing() was not seen.
Dubious, test returned 255 (wstat 65280, 0xff00)
All 3 subtests passed

Test Summary Report
-------------------
t/01-basic.t (Wstat: 65280 Tests: 3 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=1, Tests=3, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.06 cusr 0.06 csys = 0.15 CPU)
Result: FAIL
```

This is again on Moo 0.091007 and Perl 5.10.1. Perhaps a newer Moo is required for this to work? Strangely, my CPAN mirror thinks that Moo 0.091007 is the latest version. Do I have a stale mirror?