I'm not stuck in this exercise, I'm just giving you guys a heads up concerning the example explanation.
In the INSTRUCTIONS:
Quote : "Then, print out join("," $the_array)." end of quote.
You're missing the "," (argument separator) inside the join function.
Replace this line with your code.