Explain socket programming in perl?
No Answer is Posted For this Question
Be the First to Post Answer
How do I replace every TAB character in a file with a comma?
What is perl dbi?
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,
Explain goto expr?
how to search a unique pattern in a file by using perl hash map function ??? plz answer me
What does 'do' statement do in perl?
Explain grooving and shortening of arrays?
Packing and Unpacking. Hi, I want to get output as 0x23400000345.... in the below example How to get? i tried out, but unable to get the answer $r=0x234; $t=0x345; $y=pack('L L',$t,$r); $x1=unpack('L!',pack('P',$y)); printf("\nThe value is $x1"); I didn't get constant output
Which feature of Perl provides code reusability ? Give any example of that feature.
How would you ensure the re-use and maximum readability of your perl code?
What is perl scripting?
Difference between Perl and Mod_perl?