In an effort to get back into programming, I've decided to tackle an IRC bot in Perl. As some background info, I am using the POE::Component: :IRC module, using strict and warnings, and I'm not intending this to do anything illegal. I can assure you this is simply for my own education. I have already built one that can do some amusing little tricks, but one aspect of my current project is giving me a headache.
I'm having some trouble...
User Profile
Collapse
-
Subroutines called from other subroutines
-
FML
It seems every idea I have has already been done and turned into a module of some sort! Well, that's the beauty of code, I suppose.
However, for the sake of learning, I'm still interested in a way to selectively pull text from a page. -
Extracting HTML link fragment
I recently decided to start learning Perl. I usually choose something useful for my first project in any language, so I decided to write a script to give information based upon a supplied MAC address.
Everything in the script works fine, until I try to display the MAC vendor.
In order to do so, I supply the MAC address as a query to a website which checks it against a database. That website then displays the vendor... -
Self-bump. Google has been no help as of yet. The only thing I could think of would be to write a templating system in PHP, but I'm not quite that skilled yet and I am very stubborn about only using my own code. Here are my specs:
I'll keep researching while I await a response....Leave a comment:
-
Force text on all pages
I'm running a home server and have set up a few accounts for some friends of mine. I have given them each ~user (I forgot the term) public_html directories.
One thing I want to do is to force a SSI across all of their pages without having to manually add them. For example, I want something similar to:
"<This page hosted on _____>" or "<Server downtime from _____ to _____>"
... -
I'm sure that's what he meant, but changing it made no difference (at least in Firefox). Either way, that's exactly what I was looking for! Thank you!Leave a comment:
-
Using <fieldset><legend> in a <div>
So I am hosting a site from my home server, and I would like the main page to be an area for updates about the site. I am providing these updates in a blog-style format, using this code:
Code:<form><fieldset> <legend>December 15, 2009</legend> <p>This is an update. Lorem ipsum, etc. etc. and so on.</p> --goatboy </fieldset></form>
No activity results to display
Show More
Leave a comment: