[Koha] Barcode's continued

library at princeofpeaceabbey.org library at princeofpeaceabbey.org
Fri Feb 19 05:22:59 NZDT 2021


I tried the perl that Jonathan sent but the Internet did not give good  
advise on how to run the perl. Here is what I typed:

"""

use Modern::Perl;
use Koha::Biblios;
use Koha::Items;

my $biblios = Koha::Biblios->search;
my $branchcode='ppa';
while ( my $biblio=$biblios->next) {


		Koha::Item->new(
		{

				biblionumber => $biblio->biblionumber,
				homebranch   => $branchcode,
				holingbranch =>$branchcode,
				barccode	=>"barcode_'.$biblio->biblionumber,
				itype		=>$biblio->biblioitem->itemtype,
		}
		)-store;
}
"""

My test machine has a mind of its own. On Monday because it was a  
Federal holiday it did not want to work. It is a 32 bit machine with  
ubuntu 14.04 and Koha 16.05.05.
When I tried to run barodes.pl all it did was make Koha think it was  
just installed. I am doing something wrong but have no idea what it is.

Anything that works on that machine will work on my 64 bit machine  
with Ubuntu 20.04.1 with Koha 20.11.02.

Br Raphael





More information about the Koha mailing list