Beefy Boxes and Bandwidth Generously Provided by pair Networks chromatic writing perl on a camel
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: parsing a bibliography

by tachyon (Chancellor)
on Dec 02, 2004 at 01:42 UTC ( #411634=note: print w/ replies, xml ) Need Help??


in reply to Re: parsing a bibliography
in thread parsing a bibliography

One small but worthwhile modification would be to open an errors file and ouput non matching records to it. You could then tune or post process these.

open ERRS, ">error.log" or die $!; while( ... ) { my ( ... ) =~ m/ ... /x; if ( $authors ) { # output as desired } else { print ERRS "$_\n"; } } close ERRS;

cheers

tachyon


Comment on Re^2: parsing a bibliography
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://411634]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (16)
As of 2014-04-18 18:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (471 votes), past polls