i got 'bad file descriptor', which i don't understandeval returns the value of the last evaluated expression. In your case, there is no expression, so eval returns undef, which triggers die. Use something like
$@ is more common (and meaningful) after eval than $! (see perlvar).eval qq{#line $l $ld\n1;} or die "$!";
In reply to Re^3: variable based #line directives?
by choroba
in thread variable based #line directives?
by chorankates
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |