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 is the difference between java and cgi?

1139


what is Chop & Chomp function does?

1038


Why to use perl?

998


Explain perl one-liner?

998


What is hash?

1146


What is the importance of perl warnings? How do you turn them on?

1094


What is the difference between localtime() and gmtime() functions?

1085


Define say() function in perl?

1015


Enlist the advantages of using c over perl?

963


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

999


How to start perl in interactive mode?

1114


What happens when you return a reference to a private variable?

1057


What is Perl?

1053


What are prefix dereferencer?

992


List the data types that Perl can handle?

1116