in reply to mapping warning from an eval code to actual line in text

eval q{#line 1 "blah blah" die "Hello" if 1; } or die @$;

See "Plain Old Comments (Not!)" in perlsyn

package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name