Demonstrate subroutines in perl with a simple example.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More CGI Perl Interview Questions

What are the various file operations in perl. Explain with example.

0 Answers  


What does Perl do if you try to exploit the execve(2) race involving setuid scripts?

0 Answers  


How can we create perl programs in unix, windows nt, macintosh and os/2 ?

0 Answers  


Explain the difference between declarations of 'my' and 'local' variable scope in perl?

0 Answers  


How many types of operators are used in the Perl?

0 Answers  


How many loop control keywords are there in perl?

0 Answers  


Explain about the applications of perl?

0 Answers  


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

1 Answers  


What is the use of –w?

0 Answers  


What rules must be followed by modules in perl.

0 Answers  


What can be done for efficient parameter passing in perl?

0 Answers  


What elements of the Perl language could you use to structure your code to allow for maximum re-use and maximum readability?

1 Answers  


Categories