OK, pick on the newbie :-) I was using it without quotes, but then I decided to try it with quotes (I use those for Perl-embedded MySQL code), and that's what I copied and pasted.
In any case, even without the quotes, it still does not work.
Comment on Re^4: Why isn't this subroutine working?