[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/39740: perl 5.10: p5-Readonly-XS no longer works - incorrect usage of Carp?
>Synopsis: perl 5.10: p5-Readonly-XS no longer works - incorrect usage of
>Arrival-Date: Mon Oct 13 18:10:00 +0000 2008
>Originator: Rob Quinn
>Release: Solaris 5.10, pkgsrc-current
p5-Readonly-XS fails with reference to Carp.
Install p5-Readonly and p5-Readonly-XS.
String found where operator expected at
line 36, near "Carp::croak "Readonly::XS is not a standalone module. You should
not use it directly.""
(Do you need to predeclare Carp::croak?)
Line 36 is:
Carp::croak "Readonly::XS is not a standalone module. You should not use it
I think it's this issue discussed in perldelta:
The "warnings" pragma doesn't load "Carp" anymore. That
means that code that used "Carp" routines without having
loaded it at compile time might need to be adjusted;
typically, the following (faulty) code won't work
anymore, and will require parentheses to be added after
the function name:
Main Index |
Thread Index |