Hello,
In MARC::Record, line 15 :
use Carp qw(croak);
And in line 565 :
if ($reclen > 9) {
carp( "Record length of $reclen is larger than the MARC spec
allows (9 bytes)." );
}
it result in an error.
replace
> use Carp qw(croak);
by
> use Carp qw(croak carp);
and thin
Hello,
In MARC::Record, line 15 :
use Carp qw(croak);
And in line 565 :
if ($reclen > 9) {
carp( "Record length of $reclen is larger than the MARC spec
allows (9 bytes)." );
}
it result in an error.
replace
> use Carp qw(croak);
by
> use Carp qw(croak carp);
and thin
Hello,
In MARC::Record, line 15 :
use Carp qw(croak);
And in line 565 :
if ($reclen > 9) {
carp( "Record length of $reclen is larger than the MARC spec
allows (9 bytes)." );
}
it result in an error.
replace
> use Carp qw(croak);
by
> use Carp qw(croak carp);
and thin
Le 05/01/2011 11:21, Paul Poulain a écrit :
> Hello,
oups, really sorry for the multiple posting, i think I have some
cleanings to do with my subscriptions to this list...
--
Paul POULAIN
http://www.biblibre.com
Expert en Logiciels Libres pour l'info-doc
Tel : (33) 4 91 81 35 08
On 05/01/11 10:21, Paul Poulain wrote:
> Hello,
> replace
>> use Carp qw(croak);
> by
>> use Carp qw(croak carp);
> and things are going much better.
>
More simply just
use Carp;
croak and carp (and confess) are exported by default.
Colin
--
Colin Campbell
Chief Software Engineer,
PTFS Europe
Hi,
On Wed, Jan 5, 2011 at 4:49 AM, Paul Poulain wrote:
> In MARC::Record, line 15 :
> use Carp qw(croak);
>
> And in line 565 :
> if ($reclen > 9) {
> carp( "Record length of $reclen is larger than the MARC spec
> allows (9 bytes)." );
> }
>
See
http://marcpm.git.sourc