On Mon, 18 Feb 2002 14:40:17 -0900, [EMAIL PROTECTED] (Michael Fowler) wrote:
>On Mon, Feb 18, 2002 at 07:20:50AM -0500, zentara wrote:
>> You are using nested while loops to iterate
>> thru a file, this isn't necessary. Also you don't need to
>> open a file just to loop thru it.
>
>Yes, you do.
On Mon, Feb 18, 2002 at 07:20:50AM -0500, zentara wrote:
> You are using nested while loops to iterate
> thru a file, this isn't necessary. Also you don't need to
> open a file just to loop thru it.
Yes, you do. At some level, you have to open the file if you want to
read its contents.
> my $f
On Sun, 17 Feb 2002 19:02:36 -0800, [EMAIL PROTECTED] (Tetsuo) wrote:
>one big string variable). It works but can anyone tell me what the best way
>to report where in the file the match occurs? Also, is there a quicker way
>of getting the contents of a file in a string rather than my loop?
The
Tetsuo wrote:
>
> Hey all - I am trying to learn perl and I know that key to this is a deep
> understanding of regular expressions. I attempted to write a little tool
> that would allow me to test out regular expressions on multiple files (I'm
> thinking an email archive search tool at this point
Hey all - I am trying to learn perl and I know that key to this is a deep
understanding of regular expressions. I attempted to write a little tool
that would allow me to test out regular expressions on multiple files (I'm
thinking an email archive search tool at this point).
In the first incarnat