I think you might have to be in a subroutine for it to do it's magic.

>From the PadWalker docs:

  inspect (and even change!) lexical variables in any subroutine which called you

Richard Foley 

>-----Original Message-----
>From: Desany, Brian [mailto:[EMAIL PROTECTED]
>Sent: Montag, 20. September 2004 22:04
>Subject: y command
>Hi guys,
>I'm using perl 5.8.5, with 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 ./ 
>Loading DB routines from version 1.27
>Editor support available.
>Enter h or `h h' for help, or `man perldebug' for more help.
>main::(./       my $TEMPLATE_SUMMARY_HTML =
>  DB<1> n
>main::(./       my $TEMPLATE_METRIC_HTML =
>  DB<1> n
>main::(./       my $METRICS_SPREADSHEET =
>  DB<1> n
>main::(./       my $BACKGROUND_FILE =
>  DB<1> y
>Do you have any suggestions as to what might be wrong or better yet how
>to fix it?
>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. 

Visit our website at

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

Reply via email to