Just a nit, but regular expressions don't change strings, they match portions of strings. The s/// operator employs a regular expression in the left portion to match, and then modifies the matched substring according to the right portion.
--
[ e d @ h a l l e y . c c ]
In reply to Re: A Perl aptitude test
by halley
in thread A Perl aptitude test
by Jonathan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |