Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • BTW, the above doesn't really need Data::Dump - if it's not installed on your cluster, and you can't get your admins to install it for you, and you can't install it on the compute nodes with cpan then just get rid of it from the script. Data::Dump is just a convenient pretty-printing tool to do essentially the same thing as the last output loop in the script does anyway. Commented Oct 31, 2021 at 12:39
  • Awesome, thank you! As I said in my comments above, whether I can use Perl or not does not entirely depend on me. I suppose it will be possible, though, and your suggestion may come in handy. Thanks again for your time! Commented Oct 31, 2021 at 12:42
  • perl is probably installed on your cluster, especially if it's running linux...core perl, at least, if not the cpan modules. Otherwise, python almost certainly will be - python is a very popular language for scientific computing and HPC users. Depending on how you need to process the data in your data.txt files, python may be a better choice than perl. Also, if you have lots of python users nearby that you can ask for help from, that would also make it a better choice. Commented Oct 31, 2021 at 12:56