Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set ME env variable #204

Open
AlexDaniel opened this issue Aug 13, 2017 · 3 comments
Open

Set ME env variable #204

AlexDaniel opened this issue Aug 13, 2017 · 3 comments
Labels
good first issue Low-hanging fruit (relatively easy issue, good for drive-by contributions) hacktoberfest whateverable Issues affecting the bot framework (and therefore all of the bots)

Comments

@AlexDaniel
Copy link
Member

AlexDaniel commented Aug 13, 2017

<AlexDaniel> m: say %ENV.comb.pick().join
<camelia> rakudo-moar 30584d: OUTPUT: «lixAelenDa␤»

I implemented this feature in evalbot just because it was extremely easy to add. After recent commits it should be easy in whateverable too.

I think just plugging it here into %ENV should do the trick: https://github.com/perl6/whateverable/blob/99d34980400b88de96ad06ad80b20219e5b20ba6/lib/Whateverable.pm6#L268

@AlexDaniel AlexDaniel added the whateverable Issues affecting the bot framework (and therefore all of the bots) label Aug 13, 2017
@AlexDaniel AlexDaniel added the good first issue Low-hanging fruit (relatively easy issue, good for drive-by contributions) label Sep 30, 2017
@AlexDaniel
Copy link
Member Author

FWIW still not implemented.

@JJ
Copy link
Contributor

JJ commented Jun 3, 2018

Just changing $ENV to %*ENV would do? But $ENV is a variable that comes from somewhere else, right?

@AlexDaniel
Copy link
Member Author

Yes, you'll have to plug it into $ENV.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Low-hanging fruit (relatively easy issue, good for drive-by contributions) hacktoberfest whateverable Issues affecting the bot framework (and therefore all of the bots)
Projects
None yet
Development

No branches or pull requests

2 participants