Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: vChapter 6
Debugging
Next: Reference: w
 

V

V [pkg [vars]]

Displays all (or some) variables in package pkg using a data pretty-printer (which displays keys and their values for hashes, makes control characters printable, prints nested data structures in a legible fashion, and so on). pkg defaults to the main package. Make sure you enter the identifiers without a type specifier such as $ or @, like this:

V DB filename line
In place of a variable name, you can use ~pattern or !pattern to print existing variables whose names either match or don't match the specified regular expression.


Previous: Reference: vPerl in a NutshellNext: Reference: w
Reference: vBook IndexReference: w

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.