I have a Perl script that does various installation steps to set up a development box for our company. It runs various shell scripts, some of which crash due to lower than r
You can always wrap your perl in a little shell script:
#!/bin/sh -- # --*-Perl-*-- ulimit -n 2048 exec /usr/bin/perl -x -S $0 ${1+"$@"} #!/usr/bin/perl #line 6 use strict; # etc, etc....
It's ugly, and obviously, script start up time will be slightly longer.