Exporter errors give wrong location
authorM.J.T. Guy <mjtg@cus.cam.ac.uk>
Fri, 13 Jun 1997 04:08:45 +0000 (16:08 +1200)
committerTim Bunce <Tim.Bunce@ig.co.uk>
Wed, 6 Aug 1997 12:00:00 +0000 (00:00 +1200)
commit3bb63ce62db2f3ee2964b123e979675f768f552c
tree598642d4b3db7999f6573dd11b8ba57e7c295bb2
parentc3648e425c350dcf59c21e3ddc986e4c765acd1b
Exporter errors give wrong location

If you attempt to import a symbol which a module doesn't export, the
error is reported as in Exporter.pm rather than in the offending module,
because Exporter.pm uses warn instead of carp.    Patch attached.
(Against either 5.004 or 5.004_01.)

p5p-msgid: E0wdJra-0000n8-00@taurus.cus.cam.ac.uk
lib/Exporter.pm