you mean friend as in teacher? ;-)
Anyway, this question has been asked just a few days ago and you will probably be able to find it. But as you surely want to do your homework yourself, you should:
update: and don't forget to use strict and warnings as suggested by ++Crian. In addition, you might want to check if your input isn't something dangerous...
In reply to Re: Pattern Matching
by svenXY
in thread Pattern Matching
by fatfinger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |