Is there a type of variable that can tell me where a subroutine was called from?
For example if I do:
#!/usr/bin/perl -w
# caller.pl
require "./script.pl";
my $result = do_it();
#!/usr/bin/perl -w
# script.pl
sub do_it {
# who called for me?
}