How do I debug a perl program?
No Answer is Posted For this Question
Be the First to Post Answer
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 does the qq{ } operator do?
how to find a substring in a string without using substr built in functions, and print the substring found
Explain returning values from subroutines?
What is the importance of perl warnings? How do you turn them on?
How will you access an element of a perl array?
“Perl regular expressions match the longest string possible”. What is the name of this match?
How will you open a file in read-only mode in perl?
Suppose an array contains @arraycontent=(‘ab’, ‘cd’, ‘ef’, ‘gh’). How to print all the contents of the given array?
What is the difference between module and package?
Explain the meaning of closure in perl.
What is the difference between use and require in perl?