in reply to Why isn't this subroutine working?

Impossible to say, "elsf" is not perl