in reply to Re^2: Printing Stacks
in thread Printing Stacks

Either refrain from chomping @stack or else replace print with say.

I have tried adding a new line in several areas, but I keep getting errors.

If you want help fixing errors you have to say what those errors were (precisely) and how you generated them (with an SSCCE). Just saying "I keep getting errors" is not informative enough.

Replies are listed 'Best First'.
Re^4: Printing Stacks
by drose2211 (Sexton) on Mar 27, 2018 at 14:33 UTC

    Sorry, didn't mean to be vague. Getting rid of the chomp worked.