How-to articles, tricks, and solutions about PERL
Best way to give a variable a default value (simulate Perl ||, ||= )
The best way to give a variable a default value in PHP is to use the ternary operator ?:.