First of all, welcome to the Monastery!
Second, a question: why do you want to convert this to Perl? (Especially when all the Perl script does is run shell commands.)
Third, an observation: lines starting with a kitchen sink hash (#) are comments in shell scripts. Unless SLURM itself reads the shell script and interprets those lines, they won't do anything -- and if SLURM does that (which I sorta doubt, though admittedly I don't know a thing about it), then converting the shell script to a Perl script may be a vain endeavor to begin with.
In reply to Re: How can I convert my script for submitting SLURM jobs from Bash to Perl?
by AppleFritter
in thread How can I convert my script for submitting SLURM jobs from Bash to Perl?
by erhan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |