Feeds:
Posts
Comments

Archive for May, 2008

It’s been reported that certain Dodge dealerships are discounting their gas-guzzling Ram Pickups by a whopping $13,000! This kind of news makes me feel warm and fuzzy inside. Is it justice? Is it karma? I don’t know what to call it exactly, but it basically comes down to simple economics. Folks is poor! Gas is [...]

Read Full Post »

This is how to create a progress spinner in PERL. Concepts covered include: autoflush var, modulo operator, for loop, carriage return character.

1: local $|=1;
2: my @spinner = (‘|’, ‘/’, ‘-’, ‘\\’);
3: for(my $i=0; $i <= 32; $i++)
4: {
5: print “Voila! “, $spinner[$i % 4];
6: [...]

Read Full Post »