Explain the difference between use and require?

Answer Posted / goyal

Please refer:
http://www.techopes.com/2014/09/difference-between-use-and-require-in.html

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

553


How to merge two arrays in perl?

506


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.

1666


Write syntax to add two arrays together in perl?

532


List the prefix dereferencer in Perl.

556






How do I sort a hash by the hash key?

554


What is the use of command “use strict”?

554


Explain a tell function in perl?

524


How the interpreter is used in Perl?

523


How many types of primary data structures in Perl and what do they mean?

830


What are the features of perl language?

580


How can information be put into hashes?

524


What are perl array functions?

515


What is the difference between use and require in perl programming?

501


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

505