in reply to runtime error not caught by compilation check???

Why do you call

D:\_STM_work\htmFROMstm16(sms+).pl

with (sms+) but errors display

D:\_STM_work\htmFROMSTM16.pl line 66.

without ? ? ?

Edit:

I'm confused about your shebang on windows and I wouldn't be too surprised if this is not the code which is actually run.

Maybe try

perl.exe D:\_STM_work\htmFROMstm16(sms+).pl

or

perl -c D:\_STM_work\htmFROMSTM16.pl

and see what happens. :)

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!