in reply to Grabbing a Web Page and Replace Variables

Are you expecting the $_ variable to magically know that it should be "whatever", or is it actually set to something? Or do you mean something like this:
s#href="([^":/]*?)"#href="http://domain/$1"#g
Or as others have suggested (in the Chatterbox), use HTML::TokeParser

Replies are listed 'Best First'.
Re: Re: Grabbing a Web Page and Replace Variables
by LostS (Friar) on May 05, 2001 at 00:03 UTC
    I think you just posted the code i was looking for.
Re: Re: Grabbing a Web Page and Replace Variables
by LostS (Friar) on May 05, 2001 at 00:09 UTC
    That got it :) Thanks :)