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 |
Is perl a case sensitive language?
What is the function of cgiwrap in cgi programming?
How can the user execute a long command repeatedly without typing it again and again?
How many loop control keywords are there in perl?
How to access parameters passed to a subroutine in perl?
What are the features of perl language?
Write an expression or perl script to identify the entered ip address is valid or not?
How can you define “my” variables scope in Perl and how it is different from “local” variable scope?
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 ?
How does a “grep” function perform?
How do you debug a Perl scripting ( at the compile time error or run time error) in Unix environment ?
Does Perl have objects? If yes, then does it force you to use objects? If no, then why?