y command
Hi guys, I'm using perl 5.8.5, with perl5db.pl version 1.27, and PadWalker version 0.1. My understanding is that with the PadWalker module installed, the 'y' command in the debugger is supposed to show you the lexical variables in some scope (say, the current scope). It doesn't seem like it's quite working for me: [EMAIL PROTECTED] scripts]$ perl -d ./template_metrics.pl Loading DB routines from perl5db.pl version 1.27 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. main::(./template_metrics.pl:22): my $TEMPLATE_SUMMARY_HTML = template_summary.html; DB1 n main::(./template_metrics.pl:23): my $TEMPLATE_METRIC_HTML = template_metrics.html; DB1 n main::(./template_metrics.pl:24): my $METRICS_SPREADSHEET = metric_summary.xls; DB1 n main::(./template_metrics.pl:25): my $BACKGROUND_FILE = analysisMetrics.txt; DB1 y $METRICS_SPREADSHEET = undef $TEMPLATE_METRIC_HTML = undef $TEMPLATE_SUMMARY_HTML = 3 Do you have any suggestions as to what might be wrong or better yet how to fix it? Thanks, -Brian. LEGAL NOTICE: Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this e-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.
Re: garbled output in a warning
The environment variables are parameters to a script (the script author used this as the mechanism for providing parameters rather than command-line arguments). If there is an environment variable that is known to cause this behavior, I can provide a list of them, but most are application-specific and don't have anything to do with the OS (unless there is some collision that I'm not aware of). (The ones that do have something to do with OS are PERL5LIB and PATH, which I would think wouldn't be the source of any problems along these lines). The OS is red hat linux, 2.4.21-4.ELsmp On Apr 9, 2005 10:13 AM, Jeff Stampes [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: perl version 5.8.0, I am debugging a script that uses a module, and that module elicits a warning like you only used that filehandle once, you dolt in filename line whatever (I paraphrase, since I can't post from work, and that's where the problem is). The problem is the filenames is some weird characters, and they change when some random environment variables that have nothing to do with perl (I believe) change. Sometimes it breaks the terminal, meaning all the subsequent output to the screen is these weird characters (reminding me maybe of when you try to view a binary file in a text editor) and I end up having to close the session and fire up a new terminal window. What are those environment variables? What OS are you working on? ~Jeff