steph's Journal steph'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:39:08+00:00 pudge Technology hourly 1 1970-01-01T00:00+00:00 steph's Journal just another $hacker <p>the other day in some answer to a post in the ast-user mailing list, I wrote just another $hacker by mistake (must be that silly habit of using the $ key and I am no businessman<nobr> <wbr></nobr>;); I was about to delete it, when I thought "hey, that's cute" so I decided to google for it... </p><p> Actually the beast must have a mind of its own as even the advanced search consistently remove the $ sign. Well I haven't investigating much...will look later</p><p> Well anyway I like this "just another $hacker": it fits well I am a perl and ksh93 hacker.</p> steph 2006-07-21T11:27:48+00:00 journal a generic proxy (or port forwarder) <p>On my local net, only a couple machines are "visible" from another coupled intranet, which means<br>that a client PC is subject to arbitrary connection<br>severing after a relatively short time...sic</p><p>it is clear that I need a port forwarder, and I need it fast (as usual)...this means perl and first CPAN to make sure I don't reinvent the obvious.</p><p>So I came across the Net::Server framework which has a multiplexer incarnation that seems promising; on the client side it is normally VERY protocol-oriented so as a basis I will use some code from Lincoln Stein's network book.</p><p>ok network code is only half the story, as I soon discover, the true question is when do I close a client connection? there are some obvious cases,<br>server closes its read end (or both) client says it's done; but what about mis-behaving or real slow clients etc....Humm need more thinking</p> steph 2005-12-08T14:46:15+00:00 journal Perl Best Practices <p>Every two months or so I buy a few technical, scientific (or maths) books. The format I like most is a few introductory chapters and then some reference material: this survives best the passing<br>of time; actually this seems to be some O'reilly pattern (at least if it's not a GUI-oriented book).<br>Anyway most of the time, especially when I cannot find something new that interests me, o something<br>sufficiently well written, I end up buying some perl book. About one month and half ago I bought Damian Conway Perl Best Practices (PBP) and Mark Jason Dominus Higher Order Perl (HOP).</p><p>The book did not appeal much at first, being a long sequence of recipees, but quickly I started looking at some of the chapters that interest me more, and simply could not stop reading; I read all the book "diagonally" and then started up again from chapter 1 to the end. Overall a great read and a fine reference to peel practices well worth of applying __now__</p> steph 2005-12-06T19:56:39+00:00 journal