in reply to Re^4: RFC - Documentation Review
in thread Please review documentation of my AI::Embedding module

"... I didn't use export. ... Is that the same as export does?"

export is a shell command that adds a variable and its value to your environment; this will be picked up by subsequent processes. You'll probably have a lot of variables in your environment already. Try these:

$ env | sort | less $ perl -E 'say for sort keys %ENV' | less

Your author tests contain:

unless ( $ENV{RELEASE_TESTING} ) { plan( skip_all => "Author tests not required for installation" ); }

`export RELEASE_TESTING=1` results in $ENV{RELEASE_TESTING} having a TRUE value: your author tests will now be run.

"I did it that way following the instructions in ..."

Step 6 has: "Now you run all your tests ...".

If you don't set RELEASE_TESTING to a TRUE value, all your tests will not be run.

— Ken

Replies are listed 'Best First'.
Re^6: RFC - Documentation Review
by Bod (Parson) on Jun 05, 2023 at 08:43 UTC
    export is a shell command that adds a variable and its value to your environment

    Ah!
    I'm on Windows, so it is set instead!

      > I'm on Windows, so it is set instead!

      Unless you're using PowerShell :) ... when it is: $env:RELEASE_TESTING=1

      Update: you might try using cygwin (as it seems kcott does to get that Linux feeling on Windows :)