From: Nicolas Boisselier Date: Wed, 4 Mar 2015 22:48:06 +0000 (+0000) Subject: yaml2perl X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=fd3ad7c684d22e4c25b09fe53f4f627255cc5759;p=nb.git yaml2perl --- diff --git a/etc/bashrc.function b/etc/bashrc.function index 6498d05b..ea2cca64 100644 --- a/etc/bashrc.function +++ b/etc/bashrc.function @@ -212,3 +212,7 @@ puppet-upgrade-modules() { done cd $pwd } + +yaml2perl() { + perl -MYAML -MData::Dumper -e 'print Dumper YAML::Load(join("",<>))' $@ +}