http://www.perlmonks.org?node_id=576254


in reply to PERL exit code 255

I assume this is most likely caused by a die statement in your script:

$ perl -le 'die' Died at -e line 1. $ echo $? 255