ASP (565)
CGI Perl (498)
JavaScript (1409)
VB Script (599)
JSP (733)
Shell Script (465)
Tcl (27)
Awk (108)
AJAX (338)
Ruby on Rails (259)
AngularJS (2297)
jQuery (647)
JSON (175)
Node.js (721)
React.js (389)
Scripts AllOther (50) 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 between component and directive?
What is Routing in Angular 5?
Which two methods are used for handling cross-domain ajax calls ?
How to enable and disable buttons with using condition?
Explain digest cycle, watchers and dirty checking?
Explain the difference between .js and .min.js?
What is the difference between angularjs 1(angularjs) and angular 2/4?
What is the difference between angularjs and node.js?
How to create the namespace in javascript?
What is use of settimeout function in javascript?
What are the expressions in angularjs?
What is angular singleton service?
When will nginit be called? How would you make use of ngoninit()?
What command needs to be used to take the backup?