print $out qq{
Category
} <----My mistake should of been print $out qq{
Category
} <----The fix it forced a new line so the line below it was not on the same line as
Category