Else Clauses on Loops

I am curious whether anyone else would like to see else="font-size:12.0pt; mso-ascii-font-family:Calibri;mso-fareast-font-family:"Times New Roman"; mso-hansi-font-family:Ca…

Not Comparing The Way You Meant

Here’s another example of code taken, terrifyingly, from a script that a contractor was paid cash money to write. The contractor’s code included a script to remote into another system and perform a command. Most systems required ssh, but we had some older systems that required rsh instead. So the contractor made a configuration file that contained c…

Perl Challenge: Fun with Character Classes

Perl Challenge="font-size:12.0pt; mso-ascii-font-family:Calibri;mso-fareast-font-family:"Tim…

Three Sort Functions

Everyone (I’d have to assume) has written the two basic sort functions

  # sort strings case-insensitively…

Swapping Things

So we all know the COMPSCI 101 method of swapping two variables:
  $tmp = $x; $x = $y; $y = $tmp;/var/www/users/morandimus/index.html

About morandimus

user-pic My real name is Jeremy Holland. I've been a programmer for 25 years, using primarily Perl since 2000.