File::ERC - routines to support Electronic Resource Citations
use File::ERC; # to import routines into a Perl script erc_anvl_longer( # given short form ERC in ANVL, return the $erc ); # long, explicitly tagged (canonical) form; # harmless if $erc already in canonical form erc_anvl2erc_turtle( # convert ERC/ANVL to ERC/Turtle, returning $erc, # empty string on success, message on erro $rec ); # returned Turtle record num2dk( # return array of terms corresponding to args $num, ... ); # given as coded synonyms for Dublin Kernel # elements, eg, num2dk('h1') -> 'who'; `h' is # assumed in front of arg that is pure digits
This is stub documentation for the ERC Perl module, with support for representing metadata in an ERC record using a variety of underlying syntaxes, initially the ANVL format.
ERCs (Electronic Resource Citations) utilize the Dublin Kernel metadata elements: who, what, when, and where.
ANVL (A Name Value Language) is label-colon-value format similar to email headers.
A Metadata Kernel for Electronic Permanence (PDF) http://journals.tdl.org/jodi/article/view/43
A Name Value Language (ANVL) http://www.cdlib.org/inside/diglib/ark/anvlspec.pdf
This is an alpha version of ERC tools. It is written in Perl.
John A. Kunze jak at ucop dot edu
Copyright 2009 UC Regents. Open source Apache License, Version 2.
Script Categories:
UNIX : System_administration
To install File::ERC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm File::ERC
CPAN shell
perl -MCPAN -e shell install File::ERC
For more information on module installation, please visit the detailed CPAN module installation guide.