Unmatched [ in regex; marked by <-- HERE in m/[ <-- HERE A/ at noname.pl line 8. Matched quoted