1.By : QrembiezsI2. A Basic ProgramExample :#!/usr/local/bin/perl## Program to do the obvious#print Hello world.;# Print a messageExplaination:1st Line In the Perl language…