in reply to How to deal with [ and ] chars

An alternative to ++Ven'Tatsu's answer is to apply quotemeta before the interpolation,     $ptsp = quotemeta $ptlalsp[2];        #get name

After Compline,
Zaxo