in reply to Re^2: regex question - dynamically address captures
in thread regex question - dynamically address captures

Argh. I had the equivelent of that first off, but I'd used 1 for the section and para numbers so @captures contained a single element with the value 1 and I convinced myself that it was the match count.

Candidate for OT: most egregious programming error, ever maybe? :)


DWIM is Perl's answer to Gödel
  • Comment on Re^3: regex question - dynamically address captures

Replies are listed 'Best First'.
Re^4: regex question - dynamically address captures
by ikegami (Patriarch) on Feb 21, 2006 at 23:28 UTC
    Well, it will place 1 (success flag) in @captures when there are no captures in the regexp, but that shouldn't matter since there shouldn't be any id_fields when there are no captures.