Posted in Random Language Exploited

Random Language Exploited #2

Since I was drowning myself in making the student portal I’ll postpone the lot picking for now and jot down a few things that I learned for fun and move on


Okay, So the random language for today is Perl. The language having a camel as its icon?!

Perl is a general-purpose programming language originally developed for text manipulation and now used for a wide range of tasks including system administration, web development, network programming, GUI development, and more.

Perl is a programming language which can be used for a large variety of tasks. A typical simple use of Perl would be for extracting information from a text file and printing out a report or for converting a text file into another form. But Perl provides a large number of tools for quite complicated problems, including systems programming.

Programs written in Perl are called Perl scripts, whereas the term the Perl program refers to the system program named Perl for executing Perl scripts. (What, confused already?)

If you have used shell scripts or awk or sed or similar (Unix) utilities for various purposes, you will find that you can normally use Perl for those and many other purposes, and the code tends to be more compact. And if you haven’t used such utilities but have started thinking you might have a need for them, then perhaps what you really need to learn is Perl instead of all kinds of utilities.

Perl is implemented as an interpreted (not compiled) language. Thus, the execution of a Perl script tends to use more CPU time than a corresponding C program, for instance. On the other hand, computers tend to get faster and faster, and writing something in Perl instead of C tends to save your time.

Windows – Visit StrawberryPerl Site and install the needed version.
Linux MAC – Make sure you don’t install a package of perl that happens to conflict with your basic kernel!?

Assuming that Perl is correctly installed and working on your system, the simplest way to run a Perl program is to type the following: 


The filename should be replaced by the name of the program that you are trying to run or execute. If you created a file while reading the previous section, you can run it like this: perl

It is very important to place comments into your Perl programs. Comments will enable you to figure out the intent behind the mechanics of your program. For example, it is very easy to understand that your program adds 69 to another value. But, in two years, you may forget how you derived the number 69 in the first place.

Comments are placed inside a program file using the # character. Everything after the # is ignored. For example

# This whole line is ignored.

print(“Perl is easy.\n”); # Here’s a half-line comment.

I don’t know why I went into the basics…

( •́ ⍨ •̀)

Okay moving on… since I kinda don’t have time to go into details… What did I do to consider learning Perl as a programming language?  If I remember correctly Perl was my first scripting language which I learned a year back… WHY? Cause I wanted to know why the camel was it’s icon. 

Guess where I landed… Here It was a site that had a few links to the various species of camels and well the places from where they come from. And since I landed on their site, one thing lead to another and voila I have a backup post for today… Thank you, Mr. Camel !!!
ᕙ (✿⊙へ ⊙〃)

On a more serious note, Perl is like any other scripting language with variables with automatic types, arrays, loops, conditionals, operators bleh-ble-bleh!!

What’s special about Perl?

Not sure if that was true… But I feel that it answers the question asked.


Link to my note – link : you will find a rather incomprehensible note on Perl syntax that I made when I was learning some time back for absolutely no reason whatsoever?
The book I read – Site –  That famous site where I learned almost everything?
Interested in motion pictures – Playlist – YouTube … I have gotten addicted to these things! – collects up-to-date Perl tutorials and warns about outdated ones
For a beginner these sites are good:
For better clarity and more examples follow this site:
Below tutorial link will give almost everything to begin:
For better learning and understanding write Perl code as much as possible.

Happy Learning! 🙂

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s