I would use the .sub option because it is explicit about what it is removing.
However, the Hash did not add the --- . It is part of the YAML standard as the start of a document. You should consider leaving it alone, because other YAML tools will like it.
I would use the .sub option because it is explicit about what it is
removing.
However, the Hash did not add the --- . It is part of the YAML standard as
the start of a document. You should consider leaving it alone, because
other YAML tools will like it.
However, the Hash did not add the --- . It is part of the YAML standard as
the start of a document. You should consider leaving it alone, because
other YAML tools will like it.
Yes, that's true, that "---" is part of the YAML grammar, but the fact is that I'm only showing it, printing it, no more.
I too have automatically whacked it, for that reason. (-: