start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: v Chapter 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: v Perl in a Nutshell Next: Reference: w
Reference: v Book Index Reference: w

Library Navigation Links

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