Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!ucbvax!unisoft!cander From: cander@unisoft.UUCP (Charles Anderson) Newsgroups: comp.lang.perl Subject: select(FILEHANDLE) in debugger - bug or feature? Keywords: select, debugger Message-ID: <3148@unisoft.UUCP> Date: 3 Oct 90 21:39:50 GMT Lines: 15 While debugging a script using the perl debugger, I noticed that sometimes I could print variables (print $foo) and other times I couldn't. Further investigation showed that after issuing a "select(FILEHANDLE)" in the script under debug, printing variables failed. I discovered that "print STDOUT $foo" works after the select. Now, is this a bug or feature of the debugger that it doesn't notice that default output file handle has changed? I would argue that it's a bug and it's a pain to have to include STDOUT in every print command. This was observed on a Pyramid running perl 3.0 Patch level 28. -- Unix is the Winchester Mystery | Charles Anderson, UniSoft Corp. House of software design. | {sun, ucbvax, uunet}!unisoft!cander