Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Module-Starter CPAN distribution.

Report information
The Basics
Id: 28222
Status: resolved
Priority: 0/
Queue: Module-Starter

People
Owner: Nobody in particular
Requestors: SHLOMIF [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.43_01
Fixed in: (no value)



Subject: t/boilerplate.t has a syntax error
The generated t/boilerplate.t file has a syntax error. As a result it doesn't get run properly: <<<<<<<<<< shlomi:~/TEMP$ module-starter --module="MyTest" --author="Shlomi Fish" --email="shlomif@iglu.org.il" --mb Created starter directories and files shlomi:~/TEMP$ ls MyTest shlomi:~/TEMP$ cd MyTest/ shlomi:~/TEMP/MyTest$ ls Build.PL Changes lib MANIFEST README t shlomi:~/TEMP/MyTest$ perl Build.PL Checking whether your kit is complete... WARNING: the following files are missing in your kit: META.yml Please inform the author. Checking prerequisites... Looks good Creating new 'Build' script for 'MyTest' version '0.01' shlomi:~/TEMP/MyTest$ ./Build test lib/MyTest.pm -> blib/lib/MyTest.pm t/00-load.........ok 1/1# Testing MyTest 0.01, Perl 5.008008, /usr/bin/perl5.8.8 t/00-load.........ok t/boilerplate.....Bareword found where operator expected at t/boilerplate.t line 10, near "or die "couldn't" (Might be a runaway multi-line "" string starting on line 9) (Do you need to predeclare or?) String found where operator expected at t/boilerplate.t line 23, near "fail("" (Might be a runaway multi-line "" string starting on line 10) (Missing semicolon on previous line?) Bareword found where operator expected at t/boilerplate.t line 23, near "$filename contains" syntax error at t/boilerplate.t line 10, near "or die "couldn't " Global symbol "$line" requires explicit package name at t/boilerplate.t line 10. Global symbol "$fh" requires explicit package name at t/boilerplate.t line 10. Global symbol "$desc" requires explicit package name at t/boilerplate.t line 10. Global symbol "$regex" requires explicit package name at t/boilerplate.t line 10. Global symbol "$line" requires explicit package name at t/boilerplate.t line 10. Global symbol "$regex" requires explicit package name at t/boilerplate.t line 10. Global symbol "%violated" requires explicit package name at t/boilerplate.t line 10. Global symbol "$desc" requires explicit package name at t/boilerplate.t line 10. Global symbol "$filename" requires explicit package name at t/boilerplate.t line 23. t/boilerplate.t has too many errors. # Looks like your test died before it could output anything. t/boilerplate.....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-3 Failed 3/3 tests, 0.00% okay t/pod-coverage....ok t/pod.............ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/boilerplate.t 255 65280 3 6 200.00% 1-3 Failed 1/4 test scripts, 75.00% okay. 3/6 subtests failed, 50.00% okay. shlomi:~/TEMP/MyTest$ Show quoted text
>>>>>>>>>>
As near as I can tell, this problem is resolved in the latest release. -- rjbs