in reply to Use of uninitialized value in join or string

You need to put code tags around your code so that we can read your posts, but...
the problem is that you are not always passing 3 params into the palin sub, but you are always expecting 3. Either always pass 3, or put a $names3 ||= '' line in the sub.


-pete
"Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."