Keep It Simple, Stupid | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
See the reply to Fletch. BTW, why introduce a variable, or even the named sub come to that?
does what is required without the sub or variable, but doesn't show OP how to get the lines into an array and doesn't illustrate the technique required to use a named sub for the command handler. It may well be that OP doesn't require instruction in such things and possibly no-one who comes after will benefit, but it wasn't much effort to illustrate those techniques and someone may learn from it. DWIM is Perl's answer to Gödel In reply to Re^3: Printing text from scrolled window?
by GrandFather
|
|