I have one question regarding to eval function.

I know eval function is use for error checking but I am not
able to understand below line.

eval \'exec perl -S $0 ${1+\"$@\"}\'
if 0;
$0 for script name
$@ set if error occur


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More CGI Perl Interview Questions

How to add elements in a hash in perl?

0 Answers  


How many types of operators are used in the Perl?

0 Answers  


what are the strategies followed for multiple form interaction in cgi programs?

0 Answers  


What $! In perl?

0 Answers  


Differentiate between c++ and perl.

0 Answers  


What are scalar data and scalar variables?

0 Answers  


Which statement has an initialization, condition check and increment expressions in its body? Write a syntax to use that statement.

0 Answers  


Explain split function in perl?

0 Answers  


What does `$result = f() .. g()' really return?

0 Answers  


You want to download the contents of a url with perl. How would you do that?

0 Answers  


Explain about the applications of perl?

0 Answers  


Where do we require ‘chomp’ and what does it mean?

0 Answers  


Categories