i see three double-quotes in your Ln 3 (as displayed here; your local Ln numbers seem to be different based on the final note in your OP):
my @ptt = ("19384..003059 0 - - A","203581..39502 0 + - B)
That alone would bork the entire script, unless you've made a copy-paste error or typo when posting here.
If you're not already doing so, you'll find that adding use strict; use warnings; will be helpful. If you need even more info on problems with a script, the combination of use diagnostics; and perl -c scriptname.pl can be very helpful.
In reply to Re: Getting an unknown error
by ww
in thread Getting an unknown error
by andybshaker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |