eisai on Nostr: menherahair > I pull $uservars from the _sequence() scope The array itself, yes, but ...
menherahair (npub1n78…87ev) > I pull $uservars from the _sequence() scope
The array itself, yes, but the item named “sequence” seems nowhere to be defined.
> because code for copying bash arrays into local scope is quite noisy
Usually you don’t have to do this, unless you really need a separate copy.
> $env_* variables are actual globals, set in _globals().
I have a suspicion, that they’re in fact not. Try inserting
declare -p env_default_sequence
right after the call to _globals()
The array itself, yes, but the item named “sequence” seems nowhere to be defined.
> because code for copying bash arrays into local scope is quite noisy
Usually you don’t have to do this, unless you really need a separate copy.
> $env_* variables are actual globals, set in _globals().
I have a suspicion, that they’re in fact not. Try inserting
declare -p env_default_sequence
right after the call to _globals()