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

devquora
devquora

Posted On: Feb 22, 2018

 

-w gives us the warnings about the possible interpretation errors in the script.

–t is used for switching on taint checking. It checks the origin of the variables where outside variables are not allowed in subshell executions and system calls.

Strict calls the strict pragma and is used to check on the usage of variables, references. It is also used to force a check on the definition.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Perl Interview Questions

    List all the features of Perl programming.

    Practical extraction and reporting language (PERL) is an open source software which is used to develop web-based applica..

    Perl Interview Questions

    What are the benefits of PERL in using it as a web-based application?

    The benefits of using PERL programming are: PERL is known as the duct tape of the internet. PERL can accelerate the pro..

    Perl Interview Questions

    Talk about the applications of PERL.

    PERL has myriad and varied applications. PERL is used to write Common Gateway Interface scripts and large projects like..