in reply to Explanation of complicated line?
I'm guessing that's a typo: the if(...); looks suspiciously like a modifier, and the \ key is awfully close to the enter key. So:
$headline = $stream->get_trimmed_text('/b') if $tag->[1]{class} =~ /^h[12]$/);
--
:wq
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (FoxUni) Re: Explanation of complicated line?
by TrinityInfinity (Scribe) on Apr 02, 2002 at 21:20 UTC | |
by tadman (Prior) on Apr 02, 2002 at 21:25 UTC | |
by FoxtrotUniform (Prior) on Apr 02, 2002 at 21:36 UTC | |
by tadman (Prior) on Apr 02, 2002 at 23:16 UTC |