We all know private variables exist in perl. But do private
METHODS exist in perl ? Eg ?
No Answer is Posted For this Question
Be the First to Post Answer
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
How does polymorphism work in perl? Give an example.
Explain goto label?
Differentiate between c++ and perl.
Why is it hard to call this function: sub y { "because" } ?
Which has the highest precedence, List or Terms? Explain?
How to turn on Perl warnings? Why is that important?
How many types of operators are used in the Perl?
my @array=('data1','data2'); my @array1=('data1','data2'); my ($i,$k); $i=7; $k=7; while($i){ $array [++$#array] = 'ree'; $i--; print "@array"; } while($k){ push(@array1,'ree'); $k--; print "@array1"; } Are these two while loop are doing the same functionality ? What may be the difference?
How can you define “my” variables scope in Perl and how it is different from “local” variable scope?
Explain the execution of a program in perl.
What is the difference between perl list and perl array?