]> git.vpit.fr Git - perl/modules/indirect.git/commit
Also pass the file and the line number to the hook
authorVincent Pit <vince@profvince.com>
Thu, 7 May 2009 23:17:56 +0000 (01:17 +0200)
committerVincent Pit <vince@profvince.com>
Thu, 7 May 2009 23:17:56 +0000 (01:17 +0200)
commitcfbd22399e253cbac1aad5436d2b191082befe14
treef78e4bc0372430ebbda16677c5b0650fe8690906
parentf0156ba56d815d220b7f943d5f34cd726488c5db
Also pass the file and the line number to the hook

So that we can warn or die with the correct error message. This is required because caller() can't be trusted at compile time.
indirect.xs
lib/indirect.pm
t/10-args.t
t/21-bad.t
t/22-bad-mixed.t
t/30-scope.t
t/40-threads.t