Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What does read () command do?

938


How can you replace the characters from a string and save the number of replacements?

895


What are the two ways to get private values inside a subroutine?

902


When do you use perl programming?

1004


How to sort arrays in perl?

1030


What are the advantages and disadvantages of perl language?

918


Show the use of sockets for the server and client side of a conversation?

892


What are numeric operators in perl?

953


What is an interpolation in perl?

995


Explain ivalue?

1011


What are perl variables?

928


What is perl unshift array function?

1043


What are some of the key features of objects in perl?

944


Mention what is cpan?

1017


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

987