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

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

Serving Software Downloads in 956 Categories, Downloaded 50.078.805 Times

MARC 1.07

  Date Added: June 27, 2010  |  Visits: 952

MARC

Report Broken Link
Printer Friendly Version


Product Homepage
Download (92 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
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  
Libraries  -  MARC::Doc::Tutorial 2.00
MARC::Doc::Tutorial is a documentation-only module for new users of MARC::Record. SYNOPSIS perldoc MARC::Doc::Tutorial What is MARC? The MAchine Readable Cataloging format was designed by the Library of Congress in the late 1960s in order...
788.48 KB  
Libraries  -  PBJ::JNI 0.1
PBJ::JNI is a Perl module with full access to and from Java virtual machine from Perl. SYNOPSIS use PBJ::JNI::JavaVM; my ($env, $jvm, @vm_opts); my ($cls, $fid, $mid, $out); # Create the Java VM @vm_opts = ("-Xrs", "-Xcheck:jni"); $jvm...
14.34 KB  
Database Tools  -  MARC/Perl 1.13
MARC/Perl is a Perl 5 library for reading, manipulating, outputting and converting bibliographic records in the MARC format. The MAchine Readable Cataloging format was designed by the Library of Congress in the late 1960s in order to allow...
 
Libraries  -  Language::Zcode::Runtime::State 0.8
Language::Zcode::Runtime::State is a Perl module to handle saving, restoring, etc. the game state. restoring Getter/setter: currently in the process of restoring or not? start_machine Start executing the Z-machine. In the normal case...
296.96 KB  
Programming  -  ELF statifier 1.6.11
ELF statifier create from dynamically linked executables and all its libraries one file. This file can be copied and run on another machine without need to drag all its libraries. Dynamically linked executables are smaller then statically...
97.28 KB  
Modules  -  960 Robots 6.x-2.1
960 Robots is a theme created by Lullabot for its Drupal theming videos and DVDs. This theme, based on the 960 grid system, features two columns on the right side of the page, a two-column footer, calandar-page dates for posts, and real-name...
92.16 KB  
Programming  -  Program Version Switch 1.03
pvswitch is a very tiny program which makes it possible to use different program installations on one machine flawlessly. Its flexibility is intended for people who need to run programs against different interpreter versions. But it can also...
76.8 KB  
Development Editors  -  PHP for Linux 5. 3. 2008
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. Instead of lots of commands to output HTML (as...
10 MB  
Programming  -  Koha for Linux 3.2.1
Koha is the first open-source Integrated Library System (ILS). In use worldwide, its development is steered by a growing community of libraries collaborating to achieve their technology goals. Koha's impressive feature set continues to evolve and...
31.38 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.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...
3.88 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