Subversion Repositories sysadmin_scripts

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

#! /usr/bin/env perl

use warnings;
use strict;

use YAML::Tiny; # apt-get libyaml-tiny-perl under debian

my $config;
my $temp = join( '', <> );
eval $temp;

my $yaml = YAML::Tiny->new( $config );
print $yaml->write_string( 'testconf.yaml' );

1;