From 57f8e009519b305294d002784967239e7a41ef5e Mon Sep 17 00:00:00 2001 From: Guillermo Ramos Date: Mon, 24 Jun 2019 13:10:02 +0200 Subject: TgLib::fetch_token --- lib/TgLib/Env.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/TgLib/Env.pm') diff --git a/lib/TgLib/Env.pm b/lib/TgLib/Env.pm index b1e94aa..c019a2c 100644 --- a/lib/TgLib/Env.pm +++ b/lib/TgLib/Env.pm @@ -1,10 +1,11 @@ package TgLib::Env; use parent qw; -our @EXPORT = qw<$HOME $CONFIG_HOME $CACHE_HOME>; +our @EXPORT = qw<$HOME $CONFIG_HOME $CACHE_HOME $TOKEN>; our $HOME = $ENV{'HOME'}; our $CONFIG_HOME = $ENV{'XDG_CONFIG_HOME'} || "$HOME/.config"; our $CACHE_HOME = $ENV{'XDG_CACHE_HOME'} || "$HOME/.cache"; +our $TOKEN = $ENV{'TGUTILS_TOKEN'}; 1; -- cgit v1.2.3