What?s your favorite module and why?
Answers were Sorted based on User's Feedback
Answer / tony
My Favorite module is LWP and WWW because it is used to connect the perl into the web and getting the source page.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / raghav
My Favourite module is CGI.pm Bcoz it can handle almost all
the tasks like
1. parsing the form input
2. printiing the headers
3. can handle cookies and sessions
and much more
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / raza jafri
My Favorite module is DBI.pm because it can handle almost
all the queries related to database.
Create,Delete,Insert,update.
| Is This Answer Correct ? | 1 Yes | 0 No |
Explain the meaning of closure in perl.
What does -> symbol indicates in Perl?
What is cpan in perl?
What is lexical variable in perl?
How can you create anonymous subroutines?
What is the difference between die and exit in perl?
How do I do fill_in_the_blank for each file in a directory?
What is the usage of -i and 0s options?
Which guidelines by Perl modules must be followed?
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,
what is the difference b/w coldfusion MX 6 and Coldfusion MX 7?
Is perl a case sensitive language?