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.