in reply to (jeffa) Re: Pulling HTML off another site problem
in thread Pulling HTML off another site problem

Actually, $wanted contains 1 or 0, depending if it matched or not... but adding parentheses thusly

my ($wanted) = $data =~ /(<!-+PETROLEUM-+>\s*(.*)\s*<map\s+name="BbgE +Login2">)/s;
will fix that.

Update: ChemBoy stupid. ChemBoy not have coffee. Bad ChemBoy! (thanks, cLive ;-); sorry, jeffa!)



If God had meant us to fly, he would *never* have give us the railroads.
    --Michael Flanders

Replies are listed 'Best First'.
Re: (jeffa) Re: Pulling HTML off another site problem
by cLive ;-) (Prior) on Jun 24, 2001 at 01:08 UTC
    Errr,

    Jeff did include parentheses, in the middle.

    cLive ;-)