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
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
|
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
|
|