Hi,
I've just encountered that the TAB snippet "pl" executed at the very beginning of EACH document REGARDLESS of the set grammar inserts "#!/usr/bin/env perl".
Either the scope setting is wrong
<key>scope</key> <string>L:dyn.caret.begin.document</string>
[What does "L:" mean?]
or the scope parsing is somehow broken.
OSX 10.9.5 - TM 2.0 beta 1
Best, Hans