<?xml version="1.0" encoding="windows-1252"?>
<node id="931658" title="Re: STDERR going to string" created="2011-10-15 10:05:06" updated="2011-10-15 10:05:06">
<type id="11">
note</type>
<author id="920017">
pvaldes</author>
<data>
<field name="doctext">
&lt;p&gt;Ok, this is the error that you want to catch, two "," at the end of the line. This is not a perl error, is a bibtex  error of course, perl should know nothing about this (but Text::BibTeX should).&lt;/p&gt; 

&lt;c&gt;TITLE  = {Arranging Arguments},,&lt;/c&gt;

&lt;p&gt;and if I comment all the fuss about STDERR and simply modify this line I got the bibtex error correctly&lt;/p&gt;

&lt;c&gt;my $entry = new Text::BibTeX::Entry $bib_entry or die $!;
&lt;/c&gt;

&lt;p&gt;Update: Is obvious after reading the other answers that I had not understood the question at all...&lt;/p&gt;</field>
<field name="root_node">
929318</field>
<field name="parent_node">
929318</field>
</data>
</node>
