Explain the default scope of variables in perl?
No Answer is Posted For this Question
Be the First to Post Answer
write a script to display mirror image of a entered value and also check whether Palindrome
Write a program to download the contents from www.perlinterview.com/answers.php website in Perl.
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
What are perl variables?
Consider the following example #! /bin/perl use strict; sub sample { my @arr=(1,2,3,4); return @arr; } my ($a,$b,$c,$d) = &sample; print "$a\n$b\n$c\n$d\n"; In the above code, How can I get the $c without using the arguments such as $a,$b. I don't want to use any array to get the return values.
What is confess function in perl?
Which functions in perl allows you to include a module file. State their differences.
What are the logical operators used for small scale operations? Explain them briefly.
How does polymorphism work in perl?
What is a hash?
6 Answers Photon, Satyam, Wipro,
If you want to empty an array then how would you do that?
What does cgi program store?