What do the symbols $ @ and % mean when prefixing a
variable?
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?
What happens when you return a reference to a private variable?
Which statement has an initialization, condition check and increment expressions in its body? Write a syntax to use that statement.
Explain lists in perl?
What are the different types of perl operators?
Explain the meaning of subroutine?
What is an interpolation in perl?
Which has the highest precedence, List or Terms? Explain?
How to check the status of airplane mode (enable/disable) in perl for Android mobile?
What does perl do in linux?
How do find the length of an array?
How will you open a file in read-only mode in perl?