At 12:13 AM 6/23/02 -0700, Harry Putnam wrote: >Just going thru the debug tutorial: > perldoc perldebtut >Following along having writen the example script to disk. >I notice any `p' commands gives me a line with the first character >chopped off. > >Like when the tutorial gets to the part where you `p $key', I get >elcome instead of Welcome. Actually it seems to print the line into >my xterm like: > > DB<2> p $key w > elcome > >Notice the `w' way to the right there. This appears to possibly be >TERM related. $echo $TERM shows xterm. My setup is: >OS = Redhat 7.3 >Xwin setup Gnome/sawfish > >Running debugger in an xterm (not gnome-terminal) > >Anyone have an idea what might be causing this? >Can it be readline?
That's my guess. The p command in the debugger is equivalent to print $DB::OUT so there's nothing mystical there. Try typing print "Hello\n" at a debugger prompt. -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]