App-Lazyd
view release on metacpan or search on metacpan
#!/usr/bin/env perl
use strict;
use warnings;
use App::Lazyd;
use YAML::Tiny;
unless (-f "$ENV{HOME}/.lazyd") {
die <<USAGE;
Please add a ~/.lazyd config file looks like this
username: foo
password: foo31337
USAGE
}
my $yaml = YAML::Tiny->read("$ENV{HOME}/.lazyd");
( run in 0.256 second using v1.01-cache-2.11-cpan-64827b87656 )