03-14-2008
once you get past the 'Learning Perl' level,
Programming Perl would be a good companion for you
10 More Discussions You Might Find Interesting
1. Programming
I just want to know if someone can tell me if this
book "C Programming Language (2nd Edition)
by Brian W. Kernighan, Dennis M. Ritchie" is
a good book to learn C on unix/linux ???
i'm an old (33 :)) mainframe programmer who wants to learn something else besides cobol and pl/1 ...... (2 Replies)
Discussion started by: pat
2 Replies
2. Shell Programming and Scripting
Just a quick request guys
As you might have guessed I've just started getting involved in Unix
The guys and the boss in the unix team (not with them yet) have given me some projects to do at my request.
Some of which involve scripting. The work is paying for me to go on a scripting... (2 Replies)
Discussion started by: w33man
2 Replies
3. AIX
I'm an AIX newby:eek: and need to learn fast (I go on a course in a few week's time but I need to know some stuff now:mad:).
Can anybody recommend a good AIX book please? Not too basic though - I've been in software for many years (8bit/16bit/32bit, etc, Intel/Microsoft/FORTRAN/68000/anything... (9 Replies)
Discussion started by: Pennant Man
9 Replies
4. UNIX for Dummies Questions & Answers
Hi guys
I want o learn and understand shell scripting real good, Ive got already some background
Due to the fact that there is ton of books with these theme, can you recommend me some good book with with examples explanations, pls no theoretical books :D
Thxs (3 Replies)
Discussion started by: kl1ngac1k
3 Replies
5. Shell Programming and Scripting
Hi
Which is the most useful shell scripting book. Planning to learn shell scripting.Thanks in advance. (1 Reply)
Discussion started by: arunvellanki
1 Replies
6. Programming
I'd like to learn C but I wanted to ask if anyone knows of a good book to start with. I came across some folks who said the best one is 'The C programming language, second edition' but some reviews said that it's not for beginners. I am learning Java and UNIX on my Mac and am familiar with... (6 Replies)
Discussion started by: Straitsfan
6 Replies
7. UNIX for Dummies Questions & Answers
Hi Guys,
I need to learn awk and looking for some good resource with example. I have been using Unix from long time but awk is something always allude me. would be great if you guys could point me on some good stuff but less complicated one :)
Thanks
Javin (2 Replies)
Discussion started by: javabuddy
2 Replies
8. Shell Programming and Scripting
Seems like it's written out pretty well for a beginner to learn, any thoughts or recommendations for other books? I'd post the link but I can't do that yet.
The book is called "Beginning Perl" by Simon Cozens (2 Replies)
Discussion started by: budfoxcat
2 Replies
9. Shell Programming and Scripting
I am beginning to write many korn shell scripts these days, and was wondering what book is good as far as sed goes. I know there is a book on both sed and awk from O'Reilly, but was wondering if there is a decent book on sed alone.
I have this for awk, which has been around for a while but... (7 Replies)
Discussion started by: MIA651
7 Replies
10. Shell Programming and Scripting
I am not sure if I am posting to the right forum but I would like to buy a book which goes into Awk in detail and covers the most advanced Awk programming techniques. Would anybody be able to recommend a good book? I see plenty of books available on Amazon but I am not sure how detailed they are.... (2 Replies)
Discussion started by: kieranfoley
2 Replies
LEARN ABOUT CENTOS
xml::catalog
XML::Catalog(3) User Contributed Perl Documentation XML::Catalog(3)
NAME
XML::Catalog - Resolve public identifiers and remap system identifiers
SYNOPSIS
use XML::Catalog;
my $catalog=XML::Catalog->new('/xml/catalog.cat');
$catalog->add('http://www.w3.org/xcatalog/mastercat.xml');
my $sysid=$catalog->resolve_public('-//John Cowan//LOC Diacritics');
my $newsysid=$catalog->remap_system('http://www.w3.org');
$parser->setHandlers(ExternEnt=>$catalog->get_handler($parser));
Oasis Example
$ perl -e 'use XML::Catalog;
$pubid = q|-//OASIS//DTD DocBook XML V4.5//EN|;
my $catalog=XML::Catalog->new("/etc/xml/catalog");
print $catalog->resolve_public($pubid), "
";'
file:///usr/share/sgml/docbook/xml-dtd-4.5-1.0-51.el6/docbookx.dtd
DESCRIPTION
This module implements draft 0.4 of John Cowan's XML Catalog (formerly known as XCatalog) proposal
(<http://www.ccil.org/~cowan/XML/XCatalog.html>). Catalogs may be written in either SOCAT or XML syntax (see the proposal for syntax
details); XML::Catalog will assume SOCAT syntax if the catalog is not in well-formed XML syntax.
This module, as of 1.0.0, also supports Oasis XML catalogs.
CONSTRUCTOR
new(URL [,URL]*)
Read the catalog identified by URL and return a catalog object implementing it. If more than one URL is given, chain the additional
catalogs as extensions to the catalog (they will be searched before catalogs specified by EXTEND entries).
All URLs must be absolute. A URL with no protocol is treated as a filename.
METHODS
add(URL [,URL]*)
Chain the catalogs identified by the URL(s) to the current catalog.
resolve_public(PUBID)
Translate the public identifier PUBID to a system identifier. Returns undef if the identifier could not be translated.
remap_system(SYSID)
Remap the system identifier SYSID as specified by the catalog. Returns SYSID unchanged if no remapping was found.
get_handler(PARSER)
Returns a coderef to a resolver suitable for use as the ExternEnt handler for an XML::Parser object. The resolver will first attempt
to resolve a public identifier if supplied, and then attempt to remap the resulting system identifier (or the original system
identifier if no public identifier was supplied). It will then call the original ExternEnt handler associated with the parser object.
PARSER is the parser object; it is needed as an argument in order to obtain the original handler.
add_delegate($pubid, $href)
TBD
add_extend($href)
TBD
add_extend_object($cat, $group )
TBD
add_map($pubid, $href)
TBD
add_remap($sysid, $href)
TBD
build($url)
create new catalog object
fix_base($url)
TBD
parse
TBD
parse_SOCAT($ct)
TBD
parse_XML($ct)
TBD
set_base($href)
TBD
BUGS
/ TODO
Searching of chained catalogs is not purely depth-first (EXTEND items in a chained catalog will be searched before EXTEND items in the
original catalog.
Error checking leaves much to be desired.
AUTHOR
Current Author:
Jeff Fearn E<lt>jfearn@cpan.orgE<gt>.
Former Authors:
Eric Bohlman E<lt>ebohlman@netcom.comE<gt>.
COPYRIGHT
Copyright (c) 1999-2000 Eric Bohlman. All rights reserved. Copyright (c) 2013 Jeff Fearn. All rights reserved.
This program is free software; you can use/modify/redistribute it under the same terms as Perl itself.
perl v5.16.3 2013-10-28 XML::Catalog(3)