
Please, post questions in the group, to make it available for others.1. About resolve, you may read here: https://github.com/Camelcade/Perl5-IDEA/wiki/Subs-resolution-statusAlso, there is a #@type annotation for variables, as alternative to perl's syntax like my Foo::Bar $var (still not updated wiki, shame)2. If you mark lib/ as lib root, means Foo::Bar should be in lib/Foo/Bar.pmTo make lib/a/Foo/Bar.pm work, a should be marked as lib too.2017-09-13 20:51 GMT+03:00 Stephen Dewey <stephene...@gmail.com>:Thanks, I think I understand the differences between the different library rules now.I figured out my first problem. I had not marked the top level of the project as a Perl5 library, only the ones below that. Once I marked the top level, some of the problems went away.It seems there are still some problems with objects. If I have a method like this:sub my_func {my $arg1 = popmy $var = $arg1->property$arg1->do_something()}Both property and do_something will be highlighted with the error "Unable to find sub definition, declaration..." Perhaps the problem is that Perl cannot know what the object type is (since Perl is dynamically typed) so there is no way to know what will be passed. Is this error therefore inevitable, or is there something to be done?Similarly if you do:my $log = Log::Log4perl->get_logger(__PACKAGE__);$log->info("Hello.");The info() will have the same error.An unrelated question: Is marking a folder as "Perl5 library" recursive? i.e. if I haveMyFolderMyFolder/aMyFolder/bDo I have to mark a and b as "Perl5 library" or is it sufficient to mark MyFolder?Thank you again,Stephen
--
You received this message because you are subscribed to the Google Groups "Camelcade - Perl plugin for IntelliJ IDEA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camelcade+unsubscribe@googlegroups.com.
To post to this group, send email to came...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/camelcade/5cabe093-c3c9-40e7-96bd-d44c4305f521%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to came...@googlegroups.com.
To post to this group, send email to came...@googlegroups.com.