Hi,

I've seen a LTA error message when some module is not found. It only presents a line number but not the source file where it is 'use'd.

E.g.

running a perl program

===SORRY!===
Could not find Gnome::Gtk3::ImageMenuItem at line 18 in:
file#/home/marcel/Languages/Perl6/Projects/mongo-perl6-driver/lib
    file#/home/marcel/Languages/Perl6/Projects/gtk-v3/lib
    file#/home/marcel/Languages/Perl6/Projects/gtk-glade/lib
    file#/home/marcel/Languages/Perl6/Projects/Library/lib
    inst#/home/marcel/.perl6
    inst#/mnt/Data/opt/Perl6/rakudo/install/share/perl6/site
    inst#/mnt/Data/opt/Perl6/rakudo/install/share/perl6/vendor
    inst#/mnt/Data/opt/Perl6/rakudo/install/share/perl6/core
    ap#
    nqp#
    perl5#

The project I'm working on is somewhat large and consists of many files. Grep didn't do it for me and also the search in the atom editor did not help me out. What the possible cause could be is a `require ::($x)` somewhere, where this name is not visible, so I'd rather see a module/program name along with the line number.

Regards,
Marcel Timmerman

Reply via email to