in reply to The Marcel Perl Questionnaire
here's more answers:
Favorite Perl Instruction | last | So much power, so few keystrokes |
Least Favorite Perl Instruction | eval | Don't get me wrong, this is an extremely useful utility, but i always feel so guilty pulling it off the shelf |
Favorite operator | ?: | So quick to type, |
Least Favorite Operator | ?: | yet so much documentation to do also... |
Favorite Looping Mechanism | quantified foreach | One line to loop them and all, and one line... |
Least Favorite Looping Mechanism | do {} until() | just don't use it often |
Favorite Module | File::Find | Useful sysadmin tool |
Least Favorite Module | Getopt.pl | This is completely outclassed by the newer Getopt.pm modules. |
Favorite Special Variable | @ARGV | parse, strip, <> |
Least Favorite Special Variable | $| | always the last place i look for a bug... |
Favorite Variable Type | Scalar | It's a number, no wait it's a string, no a reference, wait wait, i've got it... ;-) |
Favorite Command Line Switch | -i | i'll save that file, thank you |
Least Favorite Command Line Switch | -Mstrict | ummm, wait a second, you mean it's not already in the file? Someone get me a rope... |
Favorite Pragma | use Diagnostics; | ding! OH! So that's what that means... |
Favorite Regexp Modifier | prefixed m | LTS anyone? |
Favorite Regexp Metachar | ? | if less is more... |
Favorite Descriptive Variable Name | $i | You're already thinking of a loop, aren't you? |
Favorite HERE Doc Delimiter | END | obligatory |
Favorite Filehandle | ARGV | <> is my second favorite operator... |
nuf evah,
jynx
In Section
Meditations