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
what is the difference between require and use in perl?
How will you get the count of parameters passed to a perl subroutine?
What is posix in perl?
List the operator used in Perl?
What is warn function in perl?
Show the use of sockets for the server and client side of a conversation?
Why is it hard to call this function: sub y { "because" } ?
What does localtime() do in perl?
How to convert strings into an array in perl?
What is the use of –w?
What's the difference between /^Foo/s and /^Foo/?
Where the command line arguments are stored and if you want to read command-line arguments with Perl, how would you do that?