Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Perl Riddleby lesage (Initiate) |
on Dec 01, 2007 at 09:32 UTC ( [id://654293]=perlquestion: print w/replies, xml ) | Need Help?? |
lesage has asked for the wisdom of the Perl Monks concerning the following question:
Our holyness divined a riddle to me, which I am unworthy to understand. Perhaps the higher clergy can guide my way.
And this is what happens, when the program calls set_engine
So sometimes %ENGINES appears to be empty, but it recovers magically. Does anyone have an idea, where to start the search? BTW: The program has a ncurses UI, therefore perl -d is tedious. Is there a way to redirect the debugging console to a different VT or XTerm? Humbly praying for revelations ... Thanks a lot for your help. The crucial issue was resetting the each() iterator. So special thanks to ProfVince and shmem. Still, use warnings; and clarification that BEGIN{} is in no way a special scope, were also very helpful. I meanwhile figured out that
can be used to redirect the perl debugger console. Tying e.g. a picocom on its own pty does almost what I'd like to have -- apart from local echo and CR/LF conversion. I'd bet there is a Perl program around doing such things. Does anybody have a pointer? - lesage
Back to
Seekers of Perl Wisdom
|
|