Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.895.431 Times

MARC 1.07

  Date Added: June 27, 2010  |  Visits: 702

MARC

Report Broken Link
Printer Friendly Version


Product Homepage
Download (76 downloads)



MARC is a Perl extension to manipulate MAchine Readable Cataloging records. SYNOPSIS use MARC; # constructors $x=MARC->new(); $x=MARC->new("filename","fileformat"); $x->openmarc({file=>"makrbrkr.mrc",format=>"marcmaker", increment=>"5", lineterm=>"n", charset=>%char_hash}); $record_num=$x->createrecord({leader=>"00000nmm 2200000 a 4500"}); # input/output operations $y=$x->nextmarc(10); # increment $x->closemarc(); print $x->marc_count(); $x->deletemarc({record=>2,field=>110}); $y=$x->selectmarc([4,21-50,60]); # character translation my %inc = %{$x->usmarc_default()}; # MARCMaker input charset my %outc = %{$x->ustext_default()}; # MARCBreaker output charset # data queries @records = $x->searchmarc({field=>"245"}); @records = $x->searchmarc({field=>"260",subfield=>"c", regex=>"/19../"}); @records = $x->searchmarc({field=>"245",notregex=>"/huckleberry/i"}); @results = $x->getvalue({record=>12,field=>856,subfield=>u}); # header and control field operations $rldr = $x->unpack_ldr($record); print "Desc is $rldr->{Desc}"; next if ($x->bib_format($record) eq SERIALS); $rff = $x->unpack_008($record); last if ($rff->{Date1}=~/00/ or $rff->{Date2}=~/00/); # data modifications $x->addfield({record=>"2", field=>"245", i1=>"1", i2=>"4", ordered=>y, value=> [a=>"The adventures of Huckleberry Finn /", c=>"Mark Twain ; illustrated by E.W. Kemble."]}); my $update245 = {field=>245,record=>2,ordered=>y}; my @u245 = $x->getupdate($update245); $x->deletemarc($update245); $x->addfield($update245, @u245_modified); # outputs $y = $x->output({format=>"marcmaker", charset=>%outc}); $x->output({file=>">>my_text.txt",format=>"ascii",record=>2}); $x->output({file=>">my_marcmaker.mkr",format=>"marcmaker", nolinebreak=>y,lineterm=>n}); $x->output({file=>">titles.html",format=>"html", 245=>"Title: "}); # manipulation of individual marc records. @recs = $x[1..$#$x]; grep {$_->unpack_ldr() && 0} @recs; @LCs = grep {$_->unp_ldr{Desc} eq a && $_->getvalue({field=>040}) =~/DLCc_.DLC/} @recs; foreach my $rec (@LCs) { print $rec->output({format=>usmarc}); } # manipulation as strings. foreach my $rec (@LCs) { my $stringvar = $rec->as_string(); $stringvar=~s[^( 100s # main entries of this stripe.. ..s # (dont care about indicators) c_.s* )(S) # take the first letter.. ] [ ${1}uc($2) # and upcase it. All authors have # upcase first letters in my library. ]xm; # x means ignore whitespace and allow # embedded comments. $rec->from_string($stringvar); my ($i2,$article) = $stringvar =~/245 .(.) c_.(.{0,9})/; $article = substr($article,0,$i2) if $i2=~/d/; print "article $article is not common" unless $COMMON_ARTS{$article}; } MARC.pm is a Perl 5 module for reading in, manipulating, and outputting bibliographic records in the USMARC format. You will need to have Perl 5.004 or greater for MARC.pm to work properly. Since it is a Perl module you use MARC.pm from one of your own Perl scripts. To see what sorts of conversions are possible you can try out a web interface to MARC.pm which will allow you to upload MARC files and retrieve the results (for details see the section below entitled "Web Interface"). However, to get the full functionality you will probably want to install MARC.pm on your server or PC. MARC.pm can handle both single and batches of MARC records. The limit on the number of records in a batch is determined by the memory capacity of the machine you are running. If memory is an issue for you MARC.pm will allow you to read in records from a batch gradually. MARC.pm also includes a variety of tools for searching, removing, and even creating records from scratch..

Requirements: No special requirements
Platforms: Linux
Keyword: Field Lcs Libraries Machine Readable Machine Readable Cataloging Marc Marc Pm Output Perl Programming Record Records
Users rating: 0/10

License: Freeware Size: 80.9 KB
USER REVIEWS
More Reviews or Write Review


MARC RELATED
Education  -  Embossing Machine by BabyBus 4.11
The most interactive, entertaining and educational art products DIY creation has always been attracted to the babies. The main role of the game is the embossing machine. Embossing machine is a tool to press the paper sheet depending on...
32.8 MB  
Home & Leisure  -  PV Logger 2.0.0
PV Logger was specially designed as a simple and easy-to-use utility for archiving and retrieving machine state history. PV Logger was created using the Java programming language and can be run from all the major operating systems available.
 
Simulation Games  -  ZPlet: BLORB fork of a Z-Machine in Java 20080115
ZPlet is an interpreter for programs using the Z-Machine virtual machine invented by Infocom for their interactive fiction. This fork of ZPlet implements basic support for files in Z-Machine Blorb format (.zblorb) generated by the Inform 7 compiler.
55.28 KB  
Simulation Games  -  Fflash drums 1.08
Drum machine, free downloadable drum machine, drum machine music sound. Keyboard drum machine. Free ear training software Digital drum machine for kids, Drum machine game, Drum machine midi, free downloadable drum machine, backup drum machine...
30 KB  
Simulation Games  -  Flash drums 8
Drum machine, free downloadable drum machine, drum machine music sound. Keyboard drum machine. Free ear training software Digital drum machine for kids, Drum machine game, Drum machine midi, free downloadable drum machine, backup drum machine...
30 KB  
Business  -  HoldWell 1.0.1
Hold Well is one of the leading manufacturers in Taiwan for Accessories of Machine Center, Turning Center, Milling Machine, Grinding Machine with high technical productivity and more than 25 years experience in world market. Our latest main...
716.8 KB  
Games  -  DartDare 1.3.4.1
Darts themed FRUIT MACHINE, SLOT MACHINE or POKEY! Win what you can until the power runs out, if you get that far! $20 for a taxi home, $50 for a limo. :) Now with fun skins to unlock. Just keep playing to unlock Brickwork, Nature,...
30 MB  
Libraries  -  GNU Classpath 0.95
GNU Classpath (essential libraries for Java) is a project to create free core class libraries for use with virtual machines and compilers for the Java programming language. GNU Classpath project includes all native methods and core classes...
6.5 MB  
Programming  -  Simple Machine Language interpreter
SML is a "toy" machine language intended to teach basic processor concepts. This website contains an explanation and definition of SML, as well as an interpreter and example SML programs. GPLd source code for the interpreter is available, as well...
225.28 KB  
Libraries  -  Kernel-Machine Library 0.1
The Kernel-Machine Library is a freely available (released under the GPL) C++ library to promote the use and progress of kernel machines. It is both for academic use and for developing real world applications. The Kernel-Machine Library draws...
51.2 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB