Subject: | t/fail_with.t fails if Smart::Comments not installed |
The test script "t/fail_with.t" contains some "use Smart::Comments"
statements, that will fail (to compile) if this module is not installed.
There is no suggestion in Makefile.PL that this was required.
The following sequence of commands simulate the output when running the
script and Smart::Comments is hidden or not installed.
$ perl Makefile.PL
Writing Makefile for Contextual::Return
$ make
$ perl -MDevel::Hide=Smart::Comments -Mblib t/fail_with.t
Devel::Hide hides Smart/Comments.pm
Can't locate Smart/Comments.pm (hidden)
Compilation failed in require at t/fail_with.t line 20.
BEGIN failed--compilation aborted at t/fail_with.t line 20.