Hi All,

https://github.com/tony-o/raku-toml

In the usage parsing example:

    Parsing TOML
    use TOML;
    my $config = from-toml("config.toml".IO.slurp);
    # use $config like any ol' hash

This makes perfect sense to me.


But in the Generating TOML example:

   use TOML;
   my $config = {
     bands => ['green day',
               'motorhead',
               't swift',],
     favorite => 'little big',
   };
   my $toml-config = to-toml($config);

I am confused.  Seems to me he left something out.
If this creates a TOML file for you, what/where
is the file name and path?  What am I missing?

Your in confusion,
-T

Reply via email to