:) in the OPs program, having { local $/ ... } on the outside doesn't change the behavior of the program,
therefore no benefit is realized ... so the extra {local} is just extra typing (noise),
unless you add a name, like sub StdinTriElReader{ local $/ = "\n\n\n"; ... } then its serves a purpose
:D:D:)
In reply to Re^4: Scope of $/
by Anonymous Monk
in thread Scope of $/
by agarrubio
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |