OK, so I needed a break last night and I have been watching the
Actor's Studio and its final questionnaire a tad too much lately, so I came up with yet an other
stoopid idea...
The Marcel Perl Questionnaire is a Perl version of the famous (?)
Proust Questionnaire (which was not created by Proust by the way,
he just answered it cleverly). The aim is to come up with a series
of questions that reveal something on the questionnee's.
So here it is, with my answers:
Favorite Perl Instruction | map | even in void context {grin} |
Least Favorite Instruction | pack/unpack | Perl Geek Code PU! |
|
Favorite Looping Mechanism | foreach |
Least Favorite Looping Mechanism | for( $i=0; $i<@array; $i++) | if I wanted to write C I would use C |
|
Favorite Module | XML::Twig | I wonder why! Narrowly beats Bone::Easy |
Least Favorite Module | XML::DOM | Nice module, but the DOM is an awful standard |
|
Favorite Special Variable | $/ | especially changing it while reading a file |
Least Favorite Special Variable | $. | because it is not reset when reading several files through <> |
Favorite variable type | blessed scalar | very cool to use as object |
Favorite Command Line Switch | -p | -P is cool too |
Least Favorite Command Line Switch | -s | so much abuse is possible through this one! |
|
Favorite Pragma | overload | despite the performance penalty |
Favorite Regexp Modifier | exe | although I try to stick to ex |
Favorite Regexp Metachar | \L | we don't need no stinkin' upper case! |
|
Favorite Descriptive Variable Name | toto | I am French! |
Favorite HERE Doc delimitor | THIS | or THAT |
Favorite Filehandle | IN | or... OUT |
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|