We don't bite newbies here... much | |
PerlMonks |
Re: Pearls (not really) of Perl programmingby jryan (Vicar) |
on Nov 25, 2004 at 08:16 UTC ( [id://410350]=note: print w/replies, xml ) | Need Help?? |
Here is some code that I wrote almost 5 years ago. It was my first real Perl program; I had previously been a PHP programmer, and really had no clue what I was doing at the time when I wrote this. Really, read the code; I think it really tops anything anyone has posted in this thread so far. I'd be embarassed about it, but is *just* *too* *funny*. Among the highlights:
Despite all of these problems, the program had some pretty cool functionality. It would scan a condendensed apache log file (which I condensed with another script that ran as a cron job) and turned it into a heirarchy view that told how many hits each page on our school's website got, with higher levels having the sum of the hits on the lower levels. So, it might be total garbage, but it just shows how far I've come, right? :) (P.S.: I remember being confused as to why the node recieved such a high rep, because I knew it was garbage when I posted it. (it was my 3rd node on this site). It wasn't until later that I learned that people often voted on frontpaged nodes without reading them.)
In Section
Meditations
|
|