yesterday evening i looked at Eugene van der Pijll's 311.34 solution
(it was the closest to mine, except that mine didn't cope with >60 line
sentences well enough to pass the test program and i want to know what i did
wrong.).

$v=s/[aeiouy]/$&/gi is undefined iso 0 if no vowels were found.
so one must change that as follows:
$v=s/[aeiouy]/$&/gi||0;
--------------
W. Geldenhuys. tel: +27 12 8080374 cell: 0721236598
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the universe trying to build
bigger and better idiots. So far, the universe is winning. 

Reply via email to