What book are you using?
See perlintro#Regular expressions the Simple matching paragraph
See perltrap ( search for /foo/ )
For future reference see Common Perl Pitfalls
In reply to Re^3: Regular expression queston
by Anonymous Monk
in thread Regular expression queston
by Socrates440
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |