Oh, not sure how I missed this, sorry!

Quote from gregsen:
I have tried to return more than one value in remainder, but that just substitute $1 with both values (seperated with / ).

Not sure how that would happen. Looking at the current code on github, it looks just about right.
The syntax error you have is `${ENV{...}}` on line 28. It should be $ENV{...}. %ENV is just a Perl hash which is auto-filled from the environment.
{{ENV{...}}} is not a Perl syntax at all, that is just a sort of rudimentary template language we use in spice. You won't find that anywhere else.
posted by crazedpsyc 4 years and 7 months ago Link