Post New Gokaraju Rangaraju Institute of Engineering and Technology GRIET Interview Questions
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 _jspservice() method?
How do you dispose a variable in python?
how to design and calculate materail quantity for concrete speedbreaker ?
Explain user acceptance testing.
Explain the site template ?
What is the rating factor for copper cable ( Specific value according to the type of laying ) & the voltage drop?
What is append in java?
Hai Guys, Thi is Dinakar Please send me the navigation path of all oracle hrms subject.
How can I make a template?
How do you insert a solid line in word?
differentiate between GNP and GDP?
What do you mean by foldleft in scala?
What is new in ServletRequest interface ? (Servlet 2.4)
Which components manage deadlocks in db2?