Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://411634]
help
Chatterbox?
[LanX]: oh it's a dutch word spelled "tsjakkaa"
[erix]: NLP (Neuro-Linguisitc programming) fanatic Emile Ratelband made it popular here (but many years ago)
[LanX]: Greatest living Dutchman!
LanX TSJAKKAA!

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2017-04-24 15:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (442 votes). Check out past polls.