in reply to Re: YAML's No in Perl
in thread YAML's No in Perl
I don't see what's wrong with that; if "No" evaluates false, what about "NO", "no", "N" ? What about "Non", "Niet", "Nein" and "La'" ?
In YAML it can be a representation of a boolean value - see Boolean Language-Independent Type for YAML™ Version 1.1 for details. So it can make sense for a YAML parser to translate this to a false value in Perl land.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: YAML's No in Perl
by wazoox (Prior) on Mar 13, 2006 at 16:17 UTC | |
by diotalevi (Canon) on Mar 13, 2006 at 19:12 UTC |