Friday, 24 January 2020

What is the opendir() function in Perl?


opendir  function is used for reading the content of a particular folder.

Method 1:


opendir(DIRHANDLE,"/some director/path") or die "Can't open directory";

Method 2:


opendir DIRHANDLE, '/some diretory/path' or die "Can't open directory";

Read more »

Labels:

Wednesday, 1 January 2020

What is a continue function in Perl?


Control statement makes iteration to beginning of loops for next iteration.

Method 1:

$t = 0;

while($t < 3) {
   print "Value of var t = $t\n";
} continue {
   $t = $t + 1;
}


Read more »

Labels:

Wednesday, 11 December 2019

What is PPM in Perl?

Perl Package Manager (PPM) is a Perl energy intended to simplify the duties of

1.locating,
2. installing,
3. upgrading
4.removing

the software packages.

Read more »

Labels: