<div dir="ltr">While I'm all for supporting Perl and it seems like you have found a Perl way to do it, I thought I'd just offer one (possible) alternative, depending on what your actual end goal is.<div><br></div><div>During my Ph.D. research I found the program zotero to do bibliography management and I'm not sure what I would have done without it. I kept all my citation in there and I was able to export them to BibTeX for use in my thesis. I don't know what its export formats are, but I presume they have something that can output simple formatted text. Anyway its worth taking a look if you are doing any kind of project with a bibliography, I highly recommend it!</div><div><br></div><div><a href="https://www.zotero.org/">https://www.zotero.org/</a><br></div><div><br></div><div>Cheers,</div><div>Joel Berger</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, May 7, 2018 at 9:28 AM Alan Mead <<a href="mailto:amead@alanmead.org">amead@alanmead.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 5/7/2018 9:23 AM, Mike Fragassi wrote:<br>
> Well, if you can create targets for the in-text citations, and feed<br>
> the text body into the parser to look for these, you could then take<br>
> the hashrefs and use them to generate a skeleton of a bibliography<br>
> that you can fill out later. I.e. for a text reference of "see Foo and<br>
> Bar (2001)" you'll only have the author(s) and year for what's in the<br>
> text, but you could take that, feed it into a template system like<br>
> Template::Toolkit, and spit out a bibliography with 'TODO' or 'XXX' in<br>
> the missing fields: <br>
>    Foo, XXX. & Bar XXX. (2001)  XXX_TITLE. XXX_JOURNAL, XXX_VOL,<br>
> XXX_PAGES.<br>
> Then go back and fill in the missing fields.<br>
> And when done with writing both the text and the bibliography, you can<br>
> rescan both to check that there's no mismatches. Of course, that won't<br>
> help you if in one place you site Foo & Bar (2001) but you meant to<br>
> site Foo & Bar (2002), and you do also correctly site both of these<br>
> elsewhere.<br>
<br>
This is precisely what I want to do. The first step is to create the<br>
skeleton and your suggestion to use Biblio::Citation::Parser will make<br>
the second step much easier.<br>
<br>
-Alan<br>
<br>
<br>
-- <br>
<br>
Alan D. Mead, Ph.D.<br>
President, Talent Algorithms Inc.<br>
<br>
science + technology = better workers<br>
<br>
<a href="http://www.alanmead.org" rel="noreferrer" target="_blank">http://www.alanmead.org</a><br>
<br>
I've... seen things you people wouldn't believe...<br>
functions on fire in a copy of Orion.<br>
I watched C-Sharp glitter in the dark near a programmable gate.<br>
All those moments will be lost in time, like Ruby... on... Rails... Time for Pi.<br>
<br>
          --"The Register" user Alister, applying the famous <br>
            "Blade Runner" speech to software development<br>
_______________________________________________<br>
Chicago-talk mailing list<br>
<a href="mailto:Chicago-talk@pm.org" target="_blank">Chicago-talk@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/chicago-talk" rel="noreferrer" target="_blank">http://mail.pm.org/mailman/listinfo/chicago-talk</a><br>
</blockquote></div>