What is the use of -w, -t and strict in Perl?



What is the use of -w, -t and strict in Perl?..

Answer / Anurag Tripathi

-w option turns on warnings for potentially dangerous or erroneous constructs. -t option checks if script runs under taint mode to prevent sensitive operations with untrusted data. 'strict' pragma (perl module) enforces a strict syntax checking.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CGI Perl Interview Questions

Is perl a case sensitive language?

1 Answers  


What is the function of cgiwrap in cgi programming?

1 Answers  


How can the user execute a long command repeatedly without typing it again and again?

1 Answers  


How many loop control keywords are there in perl?

1 Answers  


How to access parameters passed to a subroutine in perl?

1 Answers  


What are the features of perl language?

1 Answers  


Write an expression or perl script to identify the entered ip address is valid or not?

5 Answers   HCL,


How can you define “my” variables scope in Perl and how it is different from “local” variable scope?

1 Answers  


while(my($key, $value) = each(%hash) ) { print "$key => $value\n"; } my($key, $value); while(($key, $value) = each(%hash) ) { print "$key => $value\n"; } What is the different between these two code in case of "my" usage ?

1 Answers  


How does a “grep” function perform?

1 Answers  


How do you debug a Perl scripting ( at the compile time error or run time error) in Unix environment ?

4 Answers  


Does Perl have objects? If yes, then does it force you to use objects? If no, then why?

1 Answers  


Categories