in reply to Re^2: Help to build a REGEXP
in thread Help to build a REGEXP

What is inside $_?

Did you ddumperBasic debugging checklist it to see whats inside, like Basic debugging checklist item 4 teache?

Did you use re 'debug'; to see what gets matched?

If you look at Re^4: Help to build a REGEXP (m//ms) you can see me show you all these things

Replies are listed 'Best First'.
Re^4: Help to build a REGEXP
by Anonymous Monk on Mar 12, 2014 at 11:15 UTC
    I can easily match the wanted part, if I slurp the whole entry in one variable, using the $/ operator...
    But problem is that the teacher is a bit weird and thinks these are "non-pedagogical stuff"...
    Inside $_ it's only each current line of the entry, nothing more...

      I can easily match the wanted part, if I slurp the whole entry in one variable, using the $/ operator... But problem is that the teacher is a bit weird and thinks these are "non-pedagogical stuff"... Inside $_ it's only each current line of the entry, nothing more...

      In that case think harder