My answers reveal a more boring mind I think.
Favorite Perl Instruction |
sub |
I love closures |
Least Favorite Instruction |
reset |
Have you read the description of reset? |
Favorite Looping Mechanism |
foreach |
Why allow mistakes to be made? |
Least Favorite Looping Mechanism |
map |
If you won't use the return, why be confusing and obfuscate? |
Favorite Module |
Exporter |
Narrowly beat Carp |
Least Favorite Module |
Number::Format |
The bugs in it taught me things I didn't want to know about Perl. |
Favorite Special Variable |
$! |
Need I explain? |
Least Favorite Special Variable |
$` and $' |
Did I want the performance hit? |
Favorite variable type |
Anonymous hash |
Very flexible |
Favorite Command Line Switch |
-c |
Catch any typos in my incomplete edit |
Least Favorite Command Line Switch |
-u |
Is it worth the pain of getting this to work? |
Favorite Pragma |
strict |
Catch my typos please |
Favorite Regexp Modifier |
g |
Particularly in scalar context |
Favorite Regexp Metachar |
\w |
|
Favorite Descriptive Variable Name |
$_ |
Only when it makes sense though |
Favorite HERE Doc Delimiter |
EOT |
End Of Text |
Favorite Filehandle |
my $fh = do {local *FH}; |
What do you mean you didn't know that worked? |