http://www.perlmonks.org?node_id=953199


in reply to Standard way for displaying a script's output.

How about we mandate a standard template for a PM submissions(1). This has the advantage that it automatically captures the output for you:

#! perl -sw use strict; use Inline::Files; select OUTPUT; print while <INPUT1>; print while <INPUT2>; __DATA__ __INPUT1__ 1 2 3 4 5 __INPUT2__ A B C D E __OUTPUT__ 1 2 3 4 5 A B C D E

<smaller>(1)JK! </smaller>


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?