Created
August 22, 2015 18:58
-
-
Save paulohrpinheiro/83798b99f2a1d1d6516a to your computer and use it in GitHub Desktop.
Programa final usando o package.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use JSON; | |
use Util::Password; | |
my $password = Util::Password::Encrypt('{#MinhaSenhaSuuuuperSegura#}'); | |
my $root_user = { | |
email => 'app@chail.com.br', | |
name => 'Chail Root Admin', | |
password => $password, | |
role => 'admin', | |
active => JSON::true, | |
}; | |
print to_json($root_user, {pretty => 1} ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment