[ale] Perl monks ?

Tommie M. Jones tj at atlantageek.com
Wed May 1 15:29:11 EDT 2002


Possibly the best perl exam I've seen yet.

For a system administrator job I got screwed up because a question related
to taint.

I had come across taint once over a 2 year period of coding perl.  I think
the main reason was the perl developers at my last job hated 'system' or
backtick and demand that you use the CPAN modules.  (Of course I don't
think any of us checked to make sure the CPAN modules used backticks or
not.)

I think a better interview process for perl would be that the interviewer
and interviewee ask each other 10 perl questions.  If the interviewee gets
more of yours right than you get of his then he is possibly a good
canidate.  Plus you might learn something during the discussion of
answers.  You will certainly find out if the person has anything to offer
your group.

---------------------------
'LinkHype' Links to the good stuff.- http://www.linkhype.com


On 1 May 2002, James P. Kinney III wrote:

> I concede. I explicitly declare all variables so I never use the $_ by
> it self.
>
> On Wed, 2002-05-01 at 15:13, Fletch wrote:
> > >>>>> "James" == James P Kinney, <James> writes:
> >
> >     James> On Wed, 2002-05-01 at 14:11, Mazukna, Thomas wrote:
> >     >> 1. Is the following snippet a valid piece of Perl code?
> >     >> s/[Tt]he\s/a/gis;
> >
> >     James> Only if it has a $variable ~= in front (unless in
> >     James> commandline mode).  Then it will substitute "a" for "The "
> >     James> or "the "
> >
> >         No, it's perfectly valid.  If you don't bind a specific
> > varible $_ will be used (as it is many places in perl when no explicit
> > arugment is given).  See perldoc perlop.
> >
> > --
> > Fletch                | "If you find my answers frightening,       __`'/|
> > fletch at phydeaux.org   |  Vincent, you should cease askin'          \ o.O'
> > 770 933-0600 x211(w)  |  scary questions." -- Jules                =(___)=
> > 770 294-0820 (m)      |                                               U
> >
> > ---
> > This message has been sent through the ALE general discussion list.
> > See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
> > sent to listmaster at ale dot org.
> >
> --
> James P. Kinney III   \Changing the mobile computing world/
> President and CEO      \          one Linux user         /
> Local Net Solutions,LLC \           at a time.          /
> 770-493-8244             \.___________________________./
>
> GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
> <jkinney at localnetsolutions.com>
> Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
>
>
>
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
> sent to listmaster at ale dot org.
>
>


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list