NAME
ysh - The YAML Test Shell
SYNOPSIS
ysh [-l | -L] [-r | -R] [-c] [-v | -V] [-h]
DESCRIPTION
This program is designed to let you play with the YAML.pm module in an interactive way. When you to type in Perl, you get back YAML. And vice versa.
By default, every line you type is a one line Perl program, the return value of which will be displayed as YAML.
To enter multi-line Perl code start the first line with ';' and use as many lines as needed. Terminate with a line containing just ';'.
To enter YAML text, start with a valid YAML separator/header line which is typically '---'. Use '===' to indicate that there is no YAML header. Enter as many lines as needed. Terminate with a line containing just '...'.
COMMAND LINE OPTIONS
NOTE: Whenever you find a bug in YAML.pm, please try to recreate it in ysh using the '-l' or '-L' flags. Then send the log file to ingy@cpan.org.
-l
Keep a log of all ysh activity in './ysh.log'. If the log file already exists, new content will be concatenated to it.
-L
Keep a log of all ysh activity in './ysh.log'. If the log file already exists, it will be deleted first.
-r
Test roundtripping. Every piece of Perl code entered will be Stored, Loaded, and Stored again. If the two stores do not match, an error message will be reported.
-R
Same as above, except that a confirmation message will be printed when everything is fine.
-c
Shortcut for setting '$YAML::PerlCode = 1'. Allows subroutine references to be processed.
-v
Print the versions of ysh and YAML.pm.
-V
In addition to the -v info, print the versions of YAML related modules.
-h
Print a help message.
SEE ALSO
AUTHOR
Brian Ingerson <ingy@cpan.org>
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 59:
You can't have =items (as at line 65) unless the first thing after the =over is an =item