+=head1 FUNCTIONS
+
+=head2 C<msg $object, $method, $file, $line>
+
+Returns the default error message generated by C<indirect> when an invalid construct is reported.
+
+=cut
+
+sub msg {
+ my $obj = $_[0];
+
+ join ' ', "Indirect call of method \"$_[1]\" on",
+ ($obj =~ /^\s*\{/ ? "a block" : "object \"$obj\""),
+ "at $_[2] line $_[3].\n";
+};
+