In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Steve Grazzini) writes:
>On Wed, Jun 18, 2003 at 05:21:06PM -0700, sandip das wrote:
>> can anybody let me know how to print out values of 
>> certain variables in "Perl Debug" mode while doing
>> single stepping ?
>
>Use 'p' or 'V'.

'x' is better for variables that contain references,
since it will expand the references in a display like
Data::Dumper output.

>From 5.8.0, there is also a 'y' command for examining
lexical variables in higher scopes.

-- 
Peter Scott
http://www.perldebugged.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to