Tag Archive ‘programming’

 

Pat Rock on Dec 21st, 2004Perl is Great and All

It really is, but one thing I don’t get is why do people think that Perl is somehow superior for web programming. My heavens what a mess of print statements!
Give me a language you can embed into the html anyday. Like PHP or ASP.
Also, if you are paying for hosting chances are that [...]

Pat Rock on Dec 9th, 2004Parsing a Bibliography part 3: Final Thoughts

Although I have been calling this series “Parsing a Bibliography” I haven’t really parsed much of anything. I used Perl to split the lines on spaces and took the first string that occurred making the general assumption that that was a last name. That’s really all I needed to do for this particular [...]

Pat Rock on Dec 9th, 2004Parsing a Bibliography Part 2

Our 2nd step is to search all of those bibliographies for common author last names.
Conceptually this is actually very very simple. It simply means performing an intersection on each set (array) and then combining the results. So given 4 lists I’ll have six possible intersections:
List1 + List2
List1 + List3
List1 + List4
List2 + List3
List2 [...]

Pat Rock on Dec 9th, 2004Parsing a Bibliography Part 1

I recently found myself having to try and do some work with several bibliographies and learned a little bit more about why Perl is THE pre-eminent language for carving up text.
My goal was to take several bibliography’s of biblical reference material. Some liberal, some conservative. I was aiming to find authors that appeared [...]