Help language development. Donate to The Perl Foundation

Env::File zef:sthiriet last updated on 2022-01-07

8e41710d137823290eb900644ee836e34b6a1c95/

Actions Status

NAME

Env::File - allow for "$PASSWORD_FILE" to fill in the value of "$PASSWORD" from a file, especially for Docker's secrets feature

SYNOPSIS

use Env::File;
my $password =  %ENVFILE<PASSWORD> ||
        die("Missing PASSWORD or PASSWORD_FILE in environment");

DESCRIPTION

Env::File export the "%ENVFILE" variable that contains:

AUTHOR

sthiriet [email protected]

COPYRIGHT AND LICENSE

Copyright 2022 sthiriet

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.