X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=blobdiff_plain;f=marc_cleanup;fp=marc_cleanup;h=3b2c2ed6c76ac4efbe73b82a45488c8015c83d19;hp=04b976060d7318f16239807e996e93cb4038c7fa;hb=7d8c1677bb803abe29986729184039b4a3379374;hpb=e6af658f3a966c87311419848b9281c92b3b1bf0 diff --git a/marc_cleanup b/marc_cleanup index 04b9760..3b2c2ed 100755 --- a/marc_cleanup +++ b/marc_cleanup @@ -603,7 +603,7 @@ sub initialize { show_trashhelp() if ($c->{trashhelp}); # defaults - my $pfx = $c->{prefix} // "bibs"; + my $pfx = defined($c->{prefix}) ? $c->{prefix} : "bibs"; $c->{ricount} = 0; $c->{rocount} = 0; $c->{'renumber-tag'} = 903 unless defined $c->{'renumber-tag'};