I'm trying to modify cookbook example 6-2: #killtags: very bad html tag killer undef $/; while(<>){ s/<.*?>//gs; print; } to instead look for all "href=" in an html file across paragraphs/newlines but I only get the first successful match. why does the cookbook's work but not mine? undef $/; while(<>){ /href="(.*?)"/gs; print "$1\n"; } TIA, -- drew cohan beginner perl enthusiast -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
- Re: confused over cookbook example 6-2 Cohan, Drew
- Re: confused over cookbook example 6-2 Jos I. Boumans
- RE: confused over cookbook example 6-2 Bob Showalter