corwin's Journal corwin'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:47:54+00:00 pudge Technology hourly 1 1970-01-01T00:00+00:00 corwin's Journal perl-fu <p>Well, of the two projects mentioned in the previous entry, both are still ongoing.<br> <br> The HTML::Mason based site is on hold, and I don't know that we'll actualy get it off the ground. In fact, we've been talking about scrapping our requirements and redrafing then after we've given <a href="">slashcode (the software powering this site)</a> a look.<br> <br> The other project perl-fu 3 is fully in my lap and I'm pleased to report that I have nothing to report. Perl-fu 3 is a ground up rewrite of perl-fu the infobot used my efnet#perlhelp, efnet#poe, and by me, at (a server I operate for a hacking club.)<br> <br> Since the work which is currently keeping me from doing much with either of these ladauble projects is in PHP -which I've had to learn for above work- the only thing I have to report is this.<br> <br> The server which hosts efnet#perlhelp's perl-fu got hacked, aparently, and perl-fu was somewhat damaged. It turned out that the simplest solution was to do a virgin install of the latest greatest perl-fu 2, which fell to me.<br> <br> It went fairly smoothly until I discovered that the SQLite databases containing the bot's Factoid database, karma scores and user activity history we're utterly impatable with the version of SQLite installed after the server rebuild. This necessated my moving the databases back over to one of my servers (which still has the old SQLite) and then writing a tool (as I didnt' have sqlite(1) and didn't want to risk talking to the CPAN about the issue) to dump the databases to SQL.<br> <br> As Juerd and I discussed, using DBI without a fancier tool sure seems like work. I was supprised how much effort it took to remember even the simple prepare(), execute(), fetch() sequence.<br> <br> In any case the operation was a success; the patient may even live. Until I get time to get an alpha of perl-fu 3 out, at any rate.</p> corwin 2005-01-05T15:21:39+00:00 journal Here I am <p>This is my first journal entry. I've only become a use Perl member, but since I have I've realized that it's passable, however unlikely, that jotting down my experience with the language, and more generally in the fields of computer geekery about which I muck, may prove of interest to others. I do keep a <a href="">web site</a>, and a <a href="">more general journal</a> there, but what I intend to put here will be strictly perl related. Or maybe not. We'll see. </p><p> Anyway, I've just embarked on two rather ambitions projects that I'd like to mention. </p><p>This first is the total redesign of the web site for the <a href="">Legion of Ethical Hacking</a>, of which I'm a member, and for whom I operate the (trunk) IRC server. The last (read: current) version of the site was done in PHP, of which I'm not very fond, and so when time came to do a redesign I started mouthing off about <a href="">HTML::Mason</a>. This has earned me a rather prominent (if not actually estimable) position in the design group, and the privilege of hosting the <a href="">development site</a> for the project until such time as we're able to move to our new server, where we'll be able to build our own httpd, mod_perl, and other goodies.</p><p>The other project is a collaboration. I've invested some effort, recently, in writing plug-ins for <a href="">Perl-fu</a>, and this gave me cause to write several time to it's author, Brandon Beamer. Eventually, we started talking, and he has since asked me to collaborate on the next version of the bot. I've very excited about this. We're still in the planning stages but the bot is going to kick serious ass when finished. I even think we'll stay fairly true to the original <a href="">Infobot</a>. I wish I could still locate my notes from YAPC, where this was talked about.</p><p>In other news, today Halfjack on EFnet's #perlhelp pointed me at <a href="">REGex coach</a> which I expect to seriously improve my life. Also I wrote:</p><blockquote><div><p> <code>sub there(&amp;){}sub is($){} not $try; there{ is do {} or do not eval{}}</code></p></div> </blockquote><p>which I'm awfully darned pleased with. I also did</p><blockquote><div><p> <code>sub there(&amp;){}sub is($){} not $try; there{ is do{} or not do {}}</code></p></div> </blockquote><p> <code>but I think I like the former better. Suggestions (to either) very much welcome. </code> </p> corwin 2003-11-15T07:14:54+00:00 journal