Perl

4 Articles 0 Followers


Perl - Using conditionals (first part)

15 Dec 2022 2 minute read 0 comments lingy

We finally come to the use of conditionals in Perl (the famous if and else). If conditional The basic if structure is like this: if (condition) { say "The condition is true"; } This code means that, if the expression in the condition is true, the...

Perl - Math

5 Sep 2022 3 minute read 0 comments lingy

One of the most important things in any programming language is its support for mathematical operations. With Perl it's no different: the language supports most of the mathematical operations you'll need in your academic and professional life, and I...

Using the “print” and “say” functions in Perl

1 Aug 2022 1 minute read 0 comments lingy

First of all, I warn you that this text will be much shorter than the previous one, but in the next one it will be After seeing the previous article on how the print function works, you must have thought that there is no way to simplify it any furth...

"Hello World" in Perl

5 Jul 2022 2 minute read 2 comments lingy

As, in all programming languages, time to make a “Hello World” to consolidate our knowledge in the Perl language. Installing Perl First, we will need to install the Perl language. If you're using Linux or Mac OS X, don't worry, the Perl interpreter...