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 is the difference between java and cgi?
what is Chop & Chomp function does?
Why to use perl?
Explain perl one-liner?
What is hash?
What is the importance of perl warnings? How do you turn them on?
What is the difference between localtime() and gmtime() functions?
Define say() function in perl?
Enlist the advantages of using c over perl?
How do you give functions private variables that retain their values between calls?
How to start perl in interactive mode?
What happens when you return a reference to a private variable?
What is Perl?
What are prefix dereferencer?
List the data types that Perl can handle?