david <[EMAIL PROTECTED]> writes:

> you are probably looking for the $& variable:
>
> open(FILE,'file') || die $!;
> while(<FILE>){
>         print $&,"\n" if(/silly/);
> }
> close(FILE);
>

cool, a whole different way to do it.... thanks

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to