in reply to $/ = undef question

To match '.' with "\n", you need the /s modifier on your match operation. Regexen ignore $/ for that, it is only for delimiting "lines" in IO*. You're using it correctly for that.

* Strictly speaking, $/ is the delimiter only for input.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re^2: $/ = undef question
by GaijinPunch (Pilgrim) on Jun 28, 2004 at 04:29 UTC
    Fantastic -- that did it!