Why do you program in Perl?
Answers were Sorted based on User's Feedback
Answer / selvaraju
It is having the features of scripting(shell) as well as
programming(like c). Using perl u can easily do the system
administration works where comparitively difficult with
shell script.
| Is This Answer Correct ? | 13 Yes | 3 No |
Answer / rajganesh
Perl is a general purpose, high level, interpreter, dynamic
and open souce programming language. It's a powerful text
processing software and also used in system administration,
web developement, network programming language etc. We can
use it in both linux/unix and Windows environment also.
Hope this should be enough to the reason for programming in
PERL.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / uma
YES I AGREE WITH RAJGANESH ANSWER , PERL IS SUCH A
WONDERFUL PROGRAMMING LANGUAGE BECOZ IT IS A POWERFUL TEXT
PROCESSR , EASILY EXTRACT DATA EVEN IF THE TEXT DOC IS VERY
VERY LARGE...TEXT MANIPULATION IS VERY EASY , IT IS A
LANGUAGE , WHICH SYNTAX , SCOPE , READIBILITY IS VERY GOOD.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / mastan
because perl is high level language and it is portable and it is free and it is human oriented sysntax.
because of these we program inperl
| Is This Answer Correct ? | 1 Yes | 1 No |
Write syntax to use grep function?
Give an example of the -i and 0s option usage.
Explain the default scope of variables in perl?
How do I do fill_in_the_blank for each file in a directory?
What value is returned by a lone `return;’ statement?
What are scalars?
What is -> symbol in perl?
Write an example explaining the use of symbol tables.
Explain the different types of data perl can handle.
Explain perl one-liner?
Can you add two arrays together?
package MYCALC; use Exporter; our @EXPORT = (); our @ISA = qw(Exporter); our @EXPORT_OK = qw(addition multi); our %EXPORT_TAGS = (DEFAULT => [qw(&addition)],Both => [qw(&addition & +multi)]); sub addition { return $_[0] + $_[1]; } sub multi { return $_[0] * $_[1]; } 1; Program: use strict; use warnings; my @list = qw (2 2); use Module qw(:DEFAULT); print addition(@list),"\n"; Above coding is my module MYCALC and the program which using this module, I have not exported any function using @EXPORT, but I have used the DEFAULT in %EXPORT_TAGS with the function addition, when I call this function from the main it says the error as,