#!perl -x eval qq[#line 1 "foo.pm"\n; warn "here"]; __END__ Prints: here at (eval 1) line 2. I wish it didn't ;-) (I am working on a low-tech "turn this scripts and its modules into an executable" scheme and I am having a heck of time trying to relate errors back to where I started. Basis of scheme is *CORE::GLOBAL::require = \&myrequire; and myrequire has access to a hash with all the modules' source code in which it eval-s. - this works with 5.005_03) Any idea why it does not work? Should it? -- Nick Ing-Simmons <nik@tiuk.ti.com> Via, but not speaking for: Texas Instruments Ltd.Thread Next