Raku / Raku/whateverable

Set ME env variable

Open
#204 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue hacktoberfest whateverable
Dominant language
Raku
Stars
19
Forks
16
PR merge metrics
No merged PRs in 30d

Description

<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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at lib/Whateverable.pm6 around line 268 and inspect how the bot populates %ENV for evaluated code. Add the ME environment variable as described in the issue, then verify that the evaluated Raku expression can read it and produces the expected value.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.