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



What elements of the Perl language could you use to structure your code to allow for maximum re-us..

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

Post New Answer

More CGI Perl Interview Questions

How to access parameters passed to a subroutine in perl?

0 Answers  


what is the function that is used to identify how many characters are there in a string?

0 Answers  


how to create a flat file database as shown below s.no name age city phone 0 hema 22 Calcutta 4312542 1 hema 21 Bangalore 2344345 2 ganesh 25 delhi 2445454 3 kartik 45 pune 4312121 4 santosh 25 Hyderabad 2254231 5 kumar 25 mysore 2344567 6 gita 34 mangalore 6532123 7 gita 32 pune 2213456 Q1.print the details of the person who r from bangalore q2.Replace the city name managlore to pune q3.prints no of person having name gita and hema q4.print how many are of age 25.

0 Answers  


Give an example of using the -n and -p option.

0 Answers  


Explain about typeglobs?

0 Answers  






Difference between the variables in which chomp function work ?

0 Answers  


What is the difference between localtime() and gmtime() functions?

0 Answers  


What is use of ‘->’ symbol?

0 Answers  


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

0 Answers  


Explain join function in perl?

0 Answers  


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

0 Answers  


What is the importance of perl warnings?

0 Answers  


Categories