What does the command "use strict" do and why should you
use it?
Answer Posted / prabin kumar, xansa(ind) chenn
"Use strict" is one of the pragma used for checking the
variable scope and syntax. If you use this pragma means,
you need to specify the scope (my, local, our) for the
variable and use the exact usage of operators.
For eg. Checking equality $number = 1 and $char eq 'a'.
| Is This Answer Correct ? | 22 Yes | 0 No |
Post New Answer View All Answers
What does read () command do?
How can you replace the characters from a string and save the number of replacements?
What are the two ways to get private values inside a subroutine?
When do you use perl programming?
How to sort arrays in perl?
What are the advantages and disadvantages of perl language?
Show the use of sockets for the server and client side of a conversation?
What are numeric operators in perl?
What is an interpolation in perl?
Explain ivalue?
What are perl variables?
What is perl unshift array function?
What are some of the key features of objects in perl?
Mention what is cpan?
Where do we require ‘chomp’ and what does it mean?