Re: [Boston.pm] Changing line number reported by errors

"Morse, Richard E.,MGH via Boston-pm" <[email protected]> Mon, 28 Oct 2019 13:34:37 +0000
Newsgroups gmane.comp.lang.perl.perl-mongers.boston
Message-ID <[email protected]>
On Oct 25, 2019, at 9:17 PM, Greg London <[email protected]> wrote:

> $. wouldn't work for me becuase the filehandle is long since
> closed by the time I do the eval(), so it will come back 0

OK — I thought the file would still be open — you were reading and then  
evaluating at the same time.

But now I know about `#line`!

Ricky


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

_______________________________________________
Boston-pm mailing list
[email protected]
https://mail.pm.org/mailman/listinfo/boston-pm