Subject: | Prereq test breaks with PDF::Builder 3.004 |
On systems where PDF::Builder 3.004 is installed 01_prereq.t fails:
# Failed test 'use PDF::Builder;'
# at t/01_prereq.t line 19.
# Tried to use 'PDF::Builder'.
# Error: PDF::Builder does not define $PDF::Builder::VERSION--version check failed at t/01_prereq.t line 19.
# BEGIN failed--compilation aborted at t/01_prereq.t line 19.
# Using PDF::Builder for PDF generation
# Looks like you failed 1 test of 5.
t/01_prereq.t .......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests
It seems that PDF::Builder 3.004 has a broken $VERSION (i.e. there's no $VERSION at all). Maybe this can be checked in the 01_prereq.t eval{}, e.g. by adding a line like PDF::Builder->VERSION(3.004)