in reply to RFC: Perl<->JSON<->YAML<->Dumper : roundtripping and possibly with unicode
$ podchecker 11115280.pl *** WARNING: (section) in 'Data::Roundtrip::perl2yaml()' deprecated at + line 346 in file 11115280.pl *** WARNING: (section) in 'Data::Roundtrip::perl2yaml()' deprecated at + line 347 in file 11115280.pl *** WARNING: (section) in 'Data::Roundtrip::perl2json()' deprecated at + line 357 in file 11115280.pl *** WARNING: (section) in 'Data::Roundtrip::perl2json()' deprecated at + line 358 in file 11115280.pl *** WARNING: empty section in previous paragraph at line 410 in file 1 +1115280.pl 11115280.pl pod syntax OK.
sub _write_to_file { ^^^^^ my $outfile = $_[0]; my $contents = $_[1]; my $FH; if( ! open $FH, '>:encoding(UTF-8)', $outfile ){ ^^ warn "failed to open file '$outfile' for reading, $!"; ^^^^^^^
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: RFC: Perl<->JSON<->YAML<->Dumper : roundtripping and possibly with unicode
by bliako (Abbot) on Apr 09, 2020 at 23:06 UTC | |
by kcott (Archbishop) on Apr 10, 2020 at 05:13 UTC | |
by bliako (Abbot) on Apr 10, 2020 at 14:06 UTC |