It was just meant as an example regex. If you want to see how it works, with your test file try
As others have pointed out, just to slurp a small file into an array, there are better ways than using <ARGV>. Your usage is Ok, but for small files you really don't need that type of code, as it was designed for line-by-line processing of huge files.if($_ =~m/134/){ }
In reply to Re: Putting files in an Array
by zentara
in thread Putting files in an Array
by maheshkumar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |