Terje Bless's Journal
http://use.perl.org/~Terje+Bless/journal/
Terje Bless's use Perl Journal
en-us
use Perl; is Copyright 1998-2006, Chris Nandor. Stories, comments, journals, and other submissions posted on use Perl; are Copyright their respective owners.
2012-01-25T02:46:25+00:00
pudge
pudge@perl.org
Technology
hourly
1
1970-01-01T00:00+00:00
Terje Bless's Journal
http://use.perl.org/images/topics/useperl.gif
http://use.perl.org/~Terje+Bless/journal/
-
Therapy...
http://use.perl.org/~Terje+Bless/journal/11060?from=rss
<p>
<code>
use SGML::Parser;<br>
my $p = Parser->new('t/invalid.html');<br>
my $c = $p->parse();<br>
print "Found $c errors.\n";<br>
<br>
my $e = $p->getErrs();<br>
for (@{$e}) {<br>
printf "Line %s, Column %s, Offset %s: %s\n",<br>
$_->{Line}, $_->{Column}, $_->{Offset}, $_->{Message};<br>
}<br>
</code>
</p><p> <strong>All better now...</strong> </p>
Terje Bless
2003-03-16T21:59:35+00:00
journal
-
How to Induce a Nervous Breakdown for Dummies...
http://use.perl.org/~Terje+Bless/journal/11045?from=rss
<p> <strong>Goal:</strong> A Perl XS interface to the <a href="http://openjade.sf.net/">OpenSP</a> SGML Parser.</p><div><p>
<strong>Ingredients:</strong>
</p><ul>
<li> <em>0</em> knowledge of XS.</li><li> <em>0</em> knowledge of C++.</li><li> <em>0</em> knowledge of C.</li><li> <em>1</em> incredibly baroque code base horribly lacking in documentation.</li><li> <em>1</em> libstdc++ missing templates for OpenSP's "<code>unsigned char</code>" characters.</li></ul></div><p> <strong>Good Luck!</strong> </p>
Terje Bless
2003-03-15T14:42:29+00:00
journal