diff options
author | Guillermo Ramos | 2019-06-24 13:10:02 +0200 |
---|---|---|
committer | Guillermo Ramos | 2019-06-24 17:39:53 +0200 |
commit | 57f8e009519b305294d002784967239e7a41ef5e (patch) | |
tree | 1f76ce42d4dc96e3561dbef035631fdef008a704 /lib/TgLib/Env.pm | |
parent | 47fb4fc02407def9d9b19a2746983b8c65937e3f (diff) | |
download | tgutils-57f8e009519b305294d002784967239e7a41ef5e.tar.gz |
TgLib::fetch_token
Diffstat (limited to 'lib/TgLib/Env.pm')
-rw-r--r-- | lib/TgLib/Env.pm | 3 |
1 files changed, 2 insertions, 1 deletions
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<Exporter>; -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; |