PBP: 035 Single-Character Strings

September 1st, 2014

Much like empty strings, the PBP suggests being careful of how you write single character strings.  It points out a number of them it considers “ambiguous”, including: Read the rest of this entry »

PBP: 037 Constants

August 30th, 2014

Mr. Conway’s book suggests that constants are good but “use constant;” is the wrong way to go about them.  It suggests the Readonly module.  Later commenters have suggested Const::Fast instead.  Feh, I say. Read the rest of this entry »

PBP: 034 Empty Strings

August 28th, 2014

The PBP suggests never using “” or ” for empty strings, and using q{} instead.  Because clearly that’s so much more readable. Read the rest of this entry »

PBP: 033 String Delimiters

August 25th, 2014

The PBP suggests using interpolating string delimiters only when they’re needed.  How much of my time do I get to waste changing single to double quotes because there’s a contraction in a message, or the other way because there isn’t? Read the rest of this entry »

PBP: 032 Utility Subroutines

August 21st, 2014

Here’s where the PBP tells you to prefix “internal use only” subroutines with an underscore.  Why it calls them “utility subroutines” I don’t know. Read the rest of this entry »

PBP: 031 Ambiguous Names

August 18th, 2014

Some words are easily misinterpreted, and the PBP suggests avoiding them for names.  I don’t agree with one of the things it suggests you always avoid, though… Read the rest of this entry »

Writing 2014-06-09

August 16th, 2014

hw20140609-01.jpg Read the rest of this entry »

Writing 2014-06-08

August 16th, 2014

hw20140608-01.jpg Read the rest of this entry »

Writing 2014-06-07

August 16th, 2014

hw20140607-01.jpg Read the rest of this entry »

Writing 2014-06-06

August 16th, 2014

hw20140606-01.jpg Read the rest of this entry »