in reply to Re^3: YAML::XS, YAML::Syck and boolean values
in thread YAML::XS, YAML::Syck and boolean values

I have an issue. im using YAML::XS all good. except when I want to change YAML value from false to true. my $data= YAML::XS::Load(test.yaml); $data->1->{active} = "true"; # I get error cannot modify read only value. how can i solve it?
  • Comment on Re^4: YAML::XS, YAML::Syck and boolean values

Replies are listed 'Best First'.
Re^5: YAML::XS, YAML::Syck and boolean values
by jdporter (Paladin) on Apr 08, 2015 at 13:05 UTC

    Could you please show us some actual perl code, and actual YAML, that demonstrates the problem? (Be sure to put the perl code and yaml inside <code> ... </code> blocks so that it display properly formatted.)