John wrote:
>
> Here is a little quiz for you beginners out there.  split() treats its
> first argument as a regular expression.  There are TWO exceptions where
> the first argument does not behave the same as a normal regular
> expression.  What are they?

I know! Please sir!

Actually this 'backwards' sort of question is good for clearing the
synapses. There used to be a question in the British driving test
which asked 'name six road situations where it would be illegal
to park'. Answering this is useless to the task of driving
but it does help to float those facts to the forefront of
consciousness! Similarly, being able to recite the alphabet
backwards is remarkably useful for some character programming.

Cheers,

Rob



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to