What elements of the Perl language could you use to
structure your code to allow for maximum re-use and maximum
readability?
Answer / sagar girase
the element is keyword "sub"
means write the subroutines,
which allow maximum readability
and allow maximum-reuse
if want any other;
write the classes and package..
Is This Answer Correct ? | 12 Yes | 0 No |
what is perl language?
What is warn function in perl?
When would `local $_' in a function ruin your day?
How to count no of occurrence of a unique patterns in perl?
What do the symbols $ @ and % mean when prefixing a variable?
you are required to replace a char in a string and store the number of replacements. How would you do that?
What are the options that can be used to avoid logic errors in perl?
Is perl compiler or interpreter?
Why to use perl scripting?
Explain '->' in perl?
How to read a single line from a file in 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?