Perl was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. Plus nobody can stop you from doing stupid things.
Being my opinion not globally relevant, I ever considered eval a great gift: the compiler walk silently at your side; at any moment you can ask him what if I.. eval answer always adhere to the reality, ie the Perl compiler. Obviously at your own risk..
L*
In reply to Re^2: Changing "filename" of eval-ed code
by Discipulus
in thread Changing "filename" of eval-ed code
by perlancar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |