Hi,

> I understand regex, but the following fails:
> open PAGE, 'c://redcross.htm';
> while( my $line = <PAGE> ) {
> $line =~ /Health and Safety Classes/
> print "$1\n";
> }

What fails? Your forget a ';' after the regex but I guess that's not what you 
mean!? :)

cu,

Oliver



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to