2.
package YAML::WIN32NewlineHack; use YAML; use Exporter; our @ISA = qw(Exporter YAML); # only covers scalar string input, but i think this should work sub Load { shift; s/\x0D\x0A/\n/g; Load($_); }
In reply to Re^2: Advanced snippet management with YAML and Perl
by dynamo
in thread Advanced snippet management with YAML and Perl
by dimar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |