Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!convex!convex.COM From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.lang.perl Subject: Re: knowing your current context Message-ID: <107138@convex.convex.com> Date: 12 Oct 90 19:13:25 GMT References: <107126@convex.convex.com> Sender: usenet@convex.com Reply-To: tchrist@convex.COM (Tom Christiansen) Organization: CONVEX Software Development, Richardson, TX Lines: 12 In article <107126@convex.convex.com> I, myself, wrote: >Anybody know how to pull out the current file, line, package, and >subroutine from within a perl script? I keep forgetting the new functions from pl>18 -- __LINE__ and __FILE__ should do for those, although I'm still looking for package and subroutine. --tom -- "UNIX was never designed to keep people from doing stupid things, because that policy would also keep them from doing clever things." [Doug Gwyn]