Actually, $wanted contains 1 or 0, depending if it matched or not... but adding parentheses thusly
will fix that.my ($wanted) = $data =~ /(<!-+PETROLEUM-+>\s*(.*)\s*<map\s+name="BbgE +Login2">)/s;
Update: ChemBoy stupid. ChemBoy not have coffee. Bad ChemBoy! (thanks, cLive ;-); sorry, jeffa!)
In reply to Re: (jeffa) Re: Pulling HTML off another site problem
by ChemBoy
in thread Pulling HTML off another site problem
by Whitey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |