in reply to Re: Advanced snippet management with YAML and Perl
in thread Advanced snippet management with YAML and Perl
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($_); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Advanced snippet management with YAML and Perl
by diotalevi (Canon) on Feb 17, 2005 at 22:41 UTC |