7cardcha has asked for the wisdom of the Perl Monks concerning the following question:
If you hit any of the arrow keys aweful escape characters get printed. Also how do you detect when an arrow key has been hit? And last but not least when you compile a script with pp is it decompilable?(And if it is not is it platform-independent?) Also pp compiled perl seems to have an overhead. Is it a one time only overhead or does it get bigger the more code you have?while(1) { $x = <STDIN>; print "$x\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Escape characters and arrow keys and pp
by Khen1950fx (Canon) on Nov 12, 2011 at 07:55 UTC | |
by 7cardcha (Novice) on Nov 14, 2011 at 00:43 UTC | |
|
Re: Escape characters and arrow keys and pp
by Marshall (Canon) on Nov 12, 2011 at 09:37 UTC | |
|
Re: Escape characters and arrow keys and pp
by afoken (Chancellor) on Nov 12, 2011 at 18:27 UTC | |
|
Re: Escape characters and arrow keys and pp
by ww (Archbishop) on Nov 12, 2011 at 12:23 UTC | |
|
Re: Escape characters and arrow keys and pp
by Plankton (Vicar) on Nov 12, 2011 at 05:18 UTC | |
by 7cardcha (Novice) on Nov 12, 2011 at 05:33 UTC | |
by Plankton (Vicar) on Nov 12, 2011 at 06:11 UTC |