Well, that's actually way different from what Blockhead was doing -- he was using "substr()" on a scalar ($line); substr() is not supposed to be used on an array (@lines).... if (substr(@lines, $_, 1) eq substr (@lines2, $_, 1)) ...
In reply to Re: Re: Re: comparing strings
by graff
in thread comparing strings
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |