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:
In place of a variable name, you can useV DB filename line
~
pattern
or
!
pattern
to print existing variables whose names either match or don't match the specified regular expression.
Copyright © 2001 O'Reilly & Associates. All rights reserved.