in reply to How to check program links correctly?

You may find an AUTOLOAD like this of benefit:

package Foo; Bar::baz( 1, 2, [3,4,5] ); package Bar; sub baz{ &Baz::qux } package Baz; sub AUTOLOAD { require Carp; require Data::Dumper; warn "Non-existant function $AUTOLOAD called with args:\n", Data::Dumper::Dumper(@_), "\nStacktrace:\n"; Carp::confess(); } __DATA__ Non-existant function Baz::qux called with args: $VAR1 = 1; $VAR2 = 2; $VAR3 = [ 3, 4, 5 ]; Stacktrace: at script line 16 Baz::AUTOLOAD called at script line 7 Bar::baz(1, 2, 'ARRAY(0x1abf188)') called at script line 3

cheers

tachyon