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

what is the difference between require and use in perl?

3 Answers   IBM,


How will you get the count of parameters passed to a perl subroutine?

0 Answers  


What is posix in perl?

0 Answers  


List the operator used in Perl?

0 Answers  


What is warn function in perl?

0 Answers  






Show the use of sockets for the server and client side of a conversation?

0 Answers  


Why is it hard to call this function: sub y { "because" } ?

0 Answers  


What does localtime() do in perl?

0 Answers  


How to convert strings into an array in perl?

0 Answers  


What is the use of –w?

0 Answers  


What's the difference between /^Foo/s and /^Foo/?

0 Answers  


Where the command line arguments are stored and if you want to read command-line arguments with Perl, how would you do that?

0 Answers  


Categories