Dear All,
I now grant you this glimpse into my personal hell.
Re:Umm, what are you doing?
TorgoX on 2002-10-27T04:45:07
I'm trying to find a stubborn and subtle bug (or two or three, actually) in HTML::FormatPS. The indented window is the result of throwing it into trace mode.Re:Umm, what are you doing?
Louis_Wu on 2002-10-27T06:51:37
Ohh. I've never used trace mode, don't recall much about it, which would explain why I didn't have a clue about what I was looking at. Thanks. Good luck.Re:Umm, what are you doing?
TorgoX on 2002-10-29T01:25:07
Have a read about constants and take a wee peek at some old code of mine that uses them.Obfuscation Fuel
Ovid on 2002-10-30T21:29:26
The article about constants was so interesting that I posted a Meditation at Perlmonks based on it. I particularly like how the following line prints '2', instead of the expected '3'. I can easily see obfuscations based upon using typeglobs to overwrite subroutines but sometimes using a null prototype and other times not using the prototype, thus allowing the typeglob assignment to do its thing.
$ perl -e 'sub foo(){2};*::foo=sub(){3};print foo()'
I will confess, though, in playing around with this that I was rather dissappointed to see that the following doesn't compile
:) $ perl -e '*::;=sub{";"};print
;()' Re:Obfuscation Fuel
TorgoX on 2002-10-31T01:30:29
Pod::Simple::Debug may amuse you. Usually it makes a constant, but sometimes not!
Re:Well...
TorgoX on 2002-10-30T19:42:04
I'm easily distractable; if I used a proper editor, I'd spend all day trying to customize it in ever more elaborate ways.