in reply to Re: Standard way for displaying a script's output.
in thread Standard way for displaying a script's output.
Except that it's legitimate to store data after any __DATA__; even after __END__ in main.
use strict; use warnings; use SelfLoader; sub daily { sleep int rand }; # work work work print plimsoll() if shift; daily; __END__ sub plimsoll { "http://en.wikipedia.org/wiki/Samuel_Plimsoll\n" };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Standard way for displaying a script's output.
by JavaFan (Canon) on Feb 11, 2012 at 08:43 UTC | |
by choroba (Cardinal) on Feb 11, 2012 at 08:53 UTC | |
by Anonymous Monk on Feb 11, 2012 at 08:58 UTC |