Env::Dotenv

Wonderful simulation to get some perspective.

raku-dotenv

image https://raku.land/zef:rawleyfowler/Humming-Bird/badges/version? not found

A Raku shim to load environment variables from .env into ENV in development. Based on the original bkeepers module written in Ruby.

Synopsis

use v6;
use Env::Dotenv;

# This way
dotenv_load();

# Or this way
my $dotenv = Dotenv.new();
$dotenv.load();

# Attempt to access a variable that had been set in your local .env file
if %*ENV<MY_SECRET_INFO> {
    say %*ENV<MY_SECRET_INFO>;
}

Installation

zef install -v https://github.com/ispyhumanfly/raku-dotenv.git

Env::Dotenv v0.0.1

Wonderful simulation to get some perspective.

Authors

  • Dan Stephenson

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • Env::Dotenv

Documentation

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.