Juha Heinanen writes:
i'm getting syntax error on last line of this kind
of switch statement:
if (defined($fd.foo)) {
switch ($fd.foo) {
case "fi":
route(TEST);
return($retcode);
why is that? in k, that kind of construct used to work.
i figured it out, $retcode does not exist in sr. $rc works.
-- juha