Hi, I set "from_uri = out" in "lcr" table. Then I call:
$var(destination) = "out"; load_gws("$var(destination)")
or:
$var(destination) = "no-out"; load_gws("$var(destination)")
or:
$var(destination) = "no-out-lalala"; load_gws("$var(destination)")
In any case LCR matches the rules of "lcr" table with "from_uri = out" !!!
If I set:
$var(destination) = "nooooo"; load_gws("$var(destination)")
then rules are not loaded (as expected).
So it seems that load_gws(pvar) does an internal match like: if table_from_uri =~ /PVAR_VALUE/
IMHO it should do: if table_from_uri =~ /^PVAR_VALUE$/