That's much faster than using a regex for this.foreach(@lines) { if ( index( $_, '#' ) == 0 ) { print "yahoo!"; } }
In reply to Re: Regex to check for beginning character
by perrin
in thread Regex to check for beginning character
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |