use 5.010;
use Data::Dumper;
use YAML::XS;
use IO::File;
my $fh = IO::File->new("< dist.ini");
my $dump = YAML::XS::Dump($fh);
say $dump;
my $load = YAML::XS::Load($dump);
say Dumper $load;
__END__
--- &1 !!perl/ref
=: *1
$VAR1 = \$VAR1;
Somehow the glob gets completely lost and it is dumped as a cyclic reference.
Somehow the glob gets completely lost and it is dumped as a cyclic reference.