Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: why does Perl eval have a strange terminator?by LanX (Saint) |
on Jun 14, 2022 at 21:56 UTC ( [id://11144743]=note: print w/replies, xml ) | Need Help?? |
I think I'm beginning to understand where you're coming from. Try/Catch in other languages is a compound statement, and the new Perl feature is also implemented as such. But
isn't, it's function like. I think that's at least partly due to sharing its name with
in Perl. Actually it's quite surprising for many coming from other languages, that we call it "eval". Larry often loved to "recycle" concepts.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|