Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

biblio::citation::parser::utils(3pm) [debian man page]

Biblio::Citation::Parser::Utils(3pm)			User Contributed Perl Documentation		      Biblio::Citation::Parser::Utils(3pm)

NAME
Biblio::Citation::Parser::Utils - OpenURL utility functions DESCRIPTION
This module contains methods for the parsing of reference metadata into OpenURLs. Although we have aimed to make it 1.0 compliant, there may well be errors (please let us know if there are!). METHODS
$openurl_hash = Biblio::Citation::Parser::Utils::trim_openurl($openurl) This method takes a hash of metadata, and returns a hash that contains only valid OpenURL fields. $openurl_hash = Biblio::Citation::Parser::Utils::decompose_openurl($openurl) This method aims to enrich an OpenURL metadata hash by applying various parsing techniques to the fields. It decomposes dates into years, months, and days if possible, fills in the appropriate fields if SICIs are present, and ensures URLs, ISBNs, etc, are valid. It returns a pointer to a hash containing the modified metadata, and an array of errors (if any). $openurl = Biblio::Citation::Parser::create_openurl($metadata) This method creates and returns an OpenURL from a metadata hash. No base URLs are prepended to this, so this should be done before using it as a link. URI::OpenURL should be used to generate OpenURLs in place of this function. $valid_isbn = Biblio::Citation::Parser::Utils::isbn_check(@isbn_chars) This is a simple function that takes an array of ISBN characters, and returns true if it is a valid ISBN. $sici_hash = Biblio::Citation::Parser::Utils::parse_sici($sici) This function takes a SICI string, and returns a hash of information parsed from it, including date information, issn numbers, etc. $bici_hash = Biblio::Citation::Parser::Utils::parse_bici($bici) This is not yet implemented, but will eventually be the BICI alternative for parse_sici. $escaped_url = ParaTools::Utils::url_escape($string) Simple function to convert a string into an encoded URL (i.e. spaces to %20, etc). Takes the unencoded URL as a parameter, and returns the encoded version. AUTHOR
Mike Jewell <moj@ecs.soton.ac.uk> perl v5.10.1 2009-11-15 Biblio::Citation::Parser::Utils(3pm)

Check Out this Related Man Page

Module::CoreList::Utils(3pm)				 Perl Programmers Reference Guide			      Module::CoreList::Utils(3pm)

NAME
Module::CoreList::Utils - what utilities shipped with versions of perl SYNOPSIS
use Module::CoreList::Utils; print $Module::CoreList::Utils::utilities{5.009003}{ptar}; # prints 1 print Module::CoreList::Utils->first_release('corelist'); # prints 5.008009 print Module::CoreList::Utils->first_release_by_date('corelist'); # prints 5.009002 DESCRIPTION
Module::CoreList::Utils provides information on which core and dual-life utilities shipped with each version of perl. It provides a number of mechanisms for querying this information. There is a functional programming API available for programmers to query information. Programmers may also query the contained hash structure to find relevant information. FUNCTIONS API
These are the functions that are available, they may either be called as functions or class methods: Module::CoreList::Utils::first_release('corelist'); # as a function Module::CoreList::Utils->first_release('corelist'); # class method "utilities" Requires a perl version as an argument, returns a list of utilities that shipped with that version of perl, or undef/empty list if that perl doesn't exist. "first_release( UTILITY )" Requires a UTILITY name as an argument, returns the perl version when that utility first appeared in core as ordered by perl version number or undef ( in scalar context ) or an empty list ( in list context ) if that utility is not in core. "first_release_by_date( UTILITY )" Requires a UTILITY name as an argument, returns the perl version when that utility first appeared in core as ordered by release date or undef ( in scalar context ) or an empty list ( in list context ) if that utility is not in core. "removed_from( UTILITY )" Takes a UTILITY name as an argument, returns the first perl version where that utility was removed from core. Returns undef if the given utility was never in core or remains in core. "removed_from_by_date( UTILITY )" Takes a UTILITY name as an argument, returns the first perl version by release date where that utility was removed from core. Returns undef if the given utility was never in core or remains in core. DATA STRUCTURES
These are the hash data structures that are available: %Module::CoreList::Utils::utilities A hash of hashes that is keyed on perl version as indicated in $]. The second level hash is utility / defined pairs. AUTHOR
Chris "BinGOs" Williams <chris@bingosnet.co.uk> Currently maintained by the perl 5 porters <perl5-porters@perl.org>. This module is the result of archaeology undertaken during QA Hackathon in Lancaster, April 2013. LICENSE
Copyright (C) 2013 Chris Williams. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
corelist, Module::CoreList, perl, <http://perlpunks.de/corelist> perl v5.18.2 2014-01-06 Module::CoreList::Utils(3pm)
Man Page