Okay I am having troubles finding this. in the perldoc modules. Is there a slicker way to write the following? if ($line =~ /(Blah1)(.*)/) { $blah = $1 if $1; $blah2 = $2 if $2; } -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/
- regexp question Noah Garrett Wallach
- Re: regexp question Chas. Owens
- Re: regexp question Erez Schatz
- regexp question Noah Garrett Wallach
- Re: regexp question Chas. Owens
- Re: regexp question John W. Krahn