1=== Quote boolean-like string (scalar) 2# Strings that could be confused with booleans should be quoted 3--- perl 4[ 'true' ] 5 6--- yaml 7\--- 'true' 8 9=== Quote boolean-like string (list) 10--- perl 11[ [ qw{ null true false } ] ] 12 13--- yaml 14\--- 15- 'null' 16- 'true' 17- 'false' 18 19=== Quote scalars ending in colon 20--- perl 21[ [ 'A:' ] ] 22 23--- yaml 24\--- 25- 'A:' 26 27