Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    MARC::Record 2.0.0

    Download button

    No screenshots available
    Downloads: 408  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Andy Lester | More programs
    Perl Artistic License / FREE
    November 9th, 2007, 22:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    MARC::Record description

    MARC::Record is a Perl extension for handling MARC records.

    MARC::Record is a Perl extension for handling MARC records.

    CONSTRUCTORS

    new()

    Base constructor for the class. It just returns a completely empty record. To get real data, you'll need to populate it with fields, or use one of the MARC::File::* modules to read from a file.

    new_from_usmarc( $marcblob [, &filter_func($tagno,$tagdata)] )
    This is a wrapper around MARC::File::USMARC::decode() for compatibility with older versions of MARC::Record.

    The wanted_func() is optional. See MARC::File::USMARC::decode for details.

    COMMON FIELD RETRIEVAL METHODS

    Following are a number of convenience methods for commonly-retrieved data fields. Please note that they each return strings, not MARC::Field objects. They return empty strings if the appropriate field or subfield is not found. This is as opposed to the field()/subfield() methods which return undef if something's not found. My assumption is that these methods are used for quick & dirty reports and you don't want to mess around with noting if something is undef.

    Also note that no punctuation cleanup is done. If the 245a is "Programming Perl / ", then that's what you'll get back, rather than "Programming Perl".

    title()

    Returns the title from the 245 tag.

    title_proper()

    Returns the title proper from the 245 tag, subfields a, n and p.

    author()

    Returns the author from the 100, 110 or 111 tag.

    edition()

    Returns the edition from the 250 tag, subfield a.

    publication_date()

    Returns the publication date from the 260 tag, subfield c.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Perl extension | MARC records | Perl module | MARC | records | Perl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM