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?
[Your Mother]: I wonder how many persons are tired of pointless and unproductive Perl6 sniping. :P FWIW Perl6 has the highest ratio of answered questions of ALL topics on Stack Overflow.
[Jenda]: All five of this month have been answered?

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2018-04-24 20:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?