I have created a CGI-based page,after entering all the values in to the fields, How to get the output on the web browser using Perl
4 5395What elements of the Perl language could you use to structure your code to allow for maximum re-use and maximum readability?
1 8659Write a simple regular expression to match an IP address, e-mail address, city-state-zipcode combination.
15 52426
What is the use of now constructor in perl?
What is the use of –w?
Which feature of perl provides code reusability?
What is the usage of -i and 0s options?
How do I print the entire contents of an array with Perl?
How and what are closures implemented in perl?
Comment on data types and variables in perl.
What does Perl do if you try to exploit the execve(2) race involving setuid scripts?
How to replace perl array elements?
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 does `$result = f() .. g()' really return?
What does this symbol mean '->'?
Explain what is STDIN, STDOUT and STDERR?
List the files in current directory sorted by size ?
How to check the status of airplane mode (enable/disable) in perl for Android mobile?