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

Which has highest precedence in between list and terms? Explain?

611


How do I pass a command line argument in perl?

713


How do you find the length of an array?

704


explain the various functions/directives in perl that allow you to include/import a module. Also, state the differences between them.

609


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

732






What is confess function in perl?

696


What are the options that can be used to avoid logic errors in perl?

683


How do you give functions private variables that retain their values between calls?

706


How to create a package?

685


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

652


How will you open a file in read-only mode in perl?

664


what is Perl one liner?

683


How to create a directory in perl?

743


Where do we require ‘chomp’ and what does it mean?

667


What are the various flags/arguments that can be used while executing a perl program?

614