in reply to Re^3: Help on multiline regex
in thread Help on multiline regex

elsif (my ($entry) = /^\s*(\S+)-object\s+(.*)/)

ehm, if you match the type, $entry is the second match...

fun ... untested code reviews... like freestyle rapping xD

Cheers Rolf

Replies are listed 'Best First'.
Re^5: Help on multiline regex
by ikegami (Patriarch) on Jun 01, 2011 at 19:17 UTC
    argh. Guess we're both off today. Removed the extraneous parens.
      Thanks guys! I was going down the wrong route I guess.