4 ms·
I was published in the journal Genome Research (https://pubmed.ncbi.nlm.nih.gov/25792610/ https://pubmed.ncbi.nlm.nih.gov/25792610/) mainly because I wrote a co
by waynecochran 5y ago
I was published in the journal Genome Research (https://pubmed.ncbi.nlm.nih.gov/25792610/ https://pubmed.ncbi.nlm.nih.gov/25792610/) mainly because I wrote a collection of Perl scripts that helped a PhD student with Genomic search. Perl is still a secret weapon that I use to automate tasks and transmogrify data.
- wodenokoto 5y agoWhich version of perl do you use, and what do you recommend someone who isn't satisfied with his text mangling skills in python?
- mst 5y agoThe latest major release of perl is perl5 version 34, but whatever's in /usr/bin/perl on your distro is almost certainly sufficient for learning with (some of my large scale OO codebases are a bit pickier, but for scripting you're somewhat unlikely to notice the difference). Curtis Poe's Beginning Perl is a good all around introduction but I'm unsure if it's a good intro if you're aiming specifically for the text mangling side. For an uber-quick-start, I'd go with https://qntm.org/perl_en https://qntm.org/perl_en and then getting up to speed on the regexp side using the man pages linked from here: https://p3rl.org/RE https://p3rl.org/RE
- waynecochran 5y agoWhatever the last Perl 5 is. I know on my Mac I use MacPorts to install the latest version in /opt/local/bin/perl and that is the version I typically install modules for if I need them. Python is not quite the right tool for automation of file system tasks and regex matching and parsing text files -- I would rather just use C++ for most things I would be tempted use Python for.