Coming up is something that could be considered infuriating but very useful, if not the whole point of Perl.
Regular expressions (Regex) in effect, scan a scalar looking for patterns of text using specific rules.
I’m not going to do too many examples due to how variable Regexs can be.
This will be you in no time! – XKCD
So now we move onto loops.
Loops are what they say they are, they loop data! There are several loops, so let’s begin.
So now you’re comfortable with Perl its time to move on to Extending those hashes and arrays.
Last time I went though scalars and how to use operators. Today is arrays, hashes and lists.
As from last time all my variables will now be prefixed with my to help with debugging and general flow. The usefulness of my will become apparent when we explore loops.
Hi all! As you may know, I’ve started studying BioInformatics. Part of this includes learning Perl, a very versatile and widely used language to help manipulate data.
Now what am I hoping to accomplish with these posts? Hopefully some sort of understanding in my head about how Perl works and how it can be adapted. If these notes help you, please post a comment.