Hey, you might want to concider reading up on some tutorials here:
http://www.sharemation.com/~perl/tut

both a regexp as a perldata tutorial are on the site along with a few
more

hth,

Jos Boumans


> > 1. If we are after field 15, how comes you used field 14 in your
> > answer please!   *************if ($fields[14] =~
> /M/)***********************
>
> The Nth element of an array is offset N-1.
>
> So $foo[0] is the first element, $foo[1] is the second
> and so on. This is a common practice in computing
> languages.
>

> > 2. Were could I read up on 'regexp' please!
>
> At a shell prompt or command line:
>
>     perldoc perlre
>
> More generally:
>
>     http://learn.perl.org/

Reply via email to