Login or Sign Up to become a member!
LessThanDot Site Logo

LessThanDot

A Technical Community for IT Professionals

Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.

Browsing "Perl"

0

Adding Stackoverflow user feed to your homepage

Following on from a comment on a previous post, this post will demonstrate how to use XML::Feed and Template::Toolkit to place your recent Stackoverflow activity onto your own web page. Aptly, this was aided by a stackoverflow question!

This time we…

Read More...
1

Create HTML from output of Perl::Critic

Perl::Critic is great. If you haven’t tried it, you should. It has helped me improve the quality of my code no end.

I wrote this script to make it easier to view the feedback in the context of the code itself. When run in a directory containing Perl…

Read More...
3

Taming RSS Feeds with XML::RSS and Template::Toolkit

This is a remarkably simple trick which I’ve found very handy. With a few lines of Perl you can take any RSS feed and format it to your liking.

Get the Feed

You can do this using LWP::Simple:

use LWP::Simple;

my $feed_url = ‘http://feeds.b…

Read More...
5

Using a Perl Singleton to Share Values Between Objects

It’s been quite a while since I last posted here. Since my last entry I got a new job, got married, went on honeymoon (got back yesterday!) and spent quite a lot of time maintaining legacy Perl code.

One thing I see a lot is sharing objects by passi…

Read More...