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

What are the steps involved when the cgi program starts running?

510


How to close a file in perl?

494


What is the tk module?

588


What value is returned by a lone `return;’ statement?

568


Perl regular expressions are greedy" what does this mean?

505






How to copy a file in perl?

519


What is the function of cgiwrap in cgi programming?

494


Write a program to download the contents from www.perlinterview.com/answers.php website in Perl.

537


Write a program to decode the data in the form using cgi programming

547


How many loop control keywords are there in perl?

559


What is perl? What is the basic command to print a string in perl?

488


What exactly is grooving and shortening of the array?

594


Explain grooving and shortening of arrays and splicing of arrays?

505


How to disable the mod_perl from apache_server as i have used perlfect search on the site and its pagination is not working and the remedy is to disable the mod_perl.

1800


Why -w argument is used with perl programs?

554