The stupid question is the question not asked | |
PerlMonks |
Re: Use of uninitialized value in join or stringby dreadpiratepeter (Priest) |
on Nov 05, 2008 at 16:35 UTC ( [id://721716]=note: print w/replies, xml ) | Need Help?? |
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."
In Section
Seekers of Perl Wisdom
|
|