Name
V
Synopsis
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 with names that either match or don’t
match the specified regular expression.
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.