Subject: | Broken in bleadperl |
Sepia/Debug.pm uses shortmess() without useing Carp. Which leads -- in
5.10 only, because in older perls Carp is loaded by strict.pm -- to this
output:
/home/src/perl/repoperls/installed-perls/perl/pBLhjqU/perl-5.8.0@32491/bin/perl
-c lib/Sepia/Debug.pm
Array found where operator expected at lib/Sepia/Debug.pm line 354, at
end of line
(Do you need to predeclare Carp::shortmess?)
Array found where operator expected at lib/Sepia/Debug.pm line 376, at
end of line
(Do you need to predeclare Carp::shortmess?)
Missing comma after first argument to die function at lib/Sepia/Debug.pm
line 354, near "@_)"
Missing comma after first argument to warn function at
lib/Sepia/Debug.pm line 376, near "@_)"
lib/Sepia/Debug.pm had compilation errors.
Simple solution: put parens around the argument -or- "use Carp" to get
the declarations at compile time.
HTH