Task

The goal is to get the source code or file path and line number where a programming object (e.g. module, class, function, method) is defined.




# 20211213 Perl programming solution
 
use strict;
use warnings;
 
use Class::Inspector;
 
print Class::Inspector->resolved_filename( 'IO::Socket::INET' ), "\n";
 