What is the use of "stderr()"?



What is the use of "stderr()"?..

Answer / Alok Kumar Verma

In Perl, `stderr()` is a function that writes to the standard error stream. It is commonly used for printing error messages or diagnostic output. By default, STDERR is line-buffered which means it will be flushed automatically whenever a newline character is encountered.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CGI Perl Interview Questions

Explain what is the scalar data and scalar variables in Perl?

1 Answers  


What is perl I used for?

1 Answers  


Differentiate between c++ and perl.

1 Answers  


How to print escaping characters inside a string in perl?

1 Answers  


Explain strftime() function in perl?

1 Answers  


What can be done for efficient parameter passing in perl?

1 Answers  


Explain substr function in perl?

1 Answers  


What is hash?

1 Answers  


Perl uses single or double quotes to surround a zero or more characters. Are the single(' ') or double quotes (" ") identical?

1 Answers  


How can arrays be tied?

1 Answers  


Is there any way to add two arrays together?

1 Answers  


What is the function of cgiwrap in cgi programming?

1 Answers  


Categories