use strict; use warnings; ...

gives me this error message / faulty output:

...

I'm trying to ...

I also tried ...