I have a Perl script that I cannot understand.
for $i(@myarr)
{
eval {
};
if($@)
{
print "*** $@ ****";
}
}
- What does this eval do? Is this a standard Perl command or just some part?
- What is the variable $ @ ? He is currently printing a line, but I do not know where this line is from.
source
share