What elements of the Perl language could you use to
structure your code to allow for maximum re-use and maximum
readability?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to concatenate the $firststring and $secondstring and result of these strings should be separated by a single space.

630


you are required to replace a char in a string and store the number of replacements. How would you do that?

517


How to read from a pipeline with Perl

545


Define dynamic scoping.

504


What is the purpose of “_file_ literal” and “_line_ literal” in perl?

535






Can inheritance be used in perl?

552


Explain lists ?

524


Does Perl have reference type?

523


How the interpreter is used in Perl?

533


Explain what is the scalar data and scalar variables in Perl?

566


How to find the length of an array in perl?

563


Perl regular expressions are greedy" what does this mean?

499


Why is it hard to call this function: sub y { "because" } ?

532


What can be done for efficient parameter passing in perl? Explain.

556


What is the difference between perl list and perl array?

464