This foxed a few people here yesterday.

After running the following code, what does $i contain (and explain
your answer).

  $i=1,2;

My experience is that most people first get the right answer
for the wrong reason, then the wrong answer for the right(ish)
reason and finally the right anser for the right reason.

I'm thinking I might include it as a question the next time I'm
asked to to a Perl interview :)

Dave...

-- 
<http://www.dave.org.uk>

Mention The Lord of the Rings just once more and I'll more than
likely kill you,
"Moorcock! Moorcock! Michael Moorcock!" you fervently moan.
   - Half Man Half Biscuit (Dickie Davies Eyes)





Reply via email to