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
Write a program to download the contents from www.perlinterview.com/answers.php website in Perl.
How to code in perl to implement the tail function in unix?
How to convert strings into an array in perl?
What can be done for efficient parameter passing in perl?
Explain the meaning of perl one-liner?
Explain what is the scalar data and scalar variables in Perl?
What is the importance of perl warnings?
What is the purpose of _package_ literal?
How will you create a file in perl?
Which guidelines by Perl modules must be followed?
How many data types are there in perl?
How do I pass a command line argument in perl?
How do you turn on the perl warnings?
What does perl do in linux?
What syntax is used for grep() function?