Answer Posted / mac
1. When you are developing an application for a real time
system in which processing speed is of utmost importnace
When to use Perl
1. For large text processing
2. When application does lot of data manipulation
3. When you need fast development
4. For database loading operations
5. When shell scrits grow to become libraries
| Is This Answer Correct ? | 9 Yes | 4 No |
Post New Answer View All Answers
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,
Perl uses single or double quotes to surround a zero or more characters. Are the single(' ') or double quotes (" ") identical?
What does next statement do in perl?
What rules must be followed by modules in perl.
What value is returned by a lone `return;’ statement?
What does `new $cur->{LINK}' do? (Assume the current package has no new() function of its own.)
What are the options that can be used to avoid logic errors in perl?
Define perl scripting?
What does -> symbol indicates in Perl?
Is there any way to add two arrays together?
Is perl compiler or interpreter?
What are some common methods to all handles in perl?
What are scalars?
What is the different between array and hash in perl programming?
Show the use of sockets for the server and client side of a conversation?