push @folders, "$_" and print $FOLDERS "$_\n" #### push(@folders, "$_"), print $FOLDERS "$_\n"