Perl calltips for functions params

I’m generally using Komodo for perl. My problem is what i’m use named params

sub abc {
  my %params = (
    somename => undef,

or even with Validate::Params module.

Komodo show calltips for functions, but fail for params, because it shows only params what i’ll access via “shift”.

Is there way to show propper calltips for function params? Maybe some special formatted comment?

sorry for my english, hope you understand my needs.

Heey, new man from Russia on our Forums!
Привет, теска)

Hello Sergey :slight_smile:

No one?! Is it possible at all?

Wait for @toddw or @nathanr. If you really want to work with Perl like a boss - try ActivePerl.

1 Like

Ok, I’ll wait. BTW I’m already in ActivePerl, actually this is not a active perl issue… (

Did you fix your problem?

nop i don’t :frowning:

@toddw can you help?

I’m thinking about to write me own extension, based on POD, or phpdocs like format. Just haven’t time now for it.

It’s because the Komodo code intelligence parser doesn’t handle this style of argument passing:

my %params = ( foo => undef, @_ );

thus it doesn’t show a calltip with arguments. The code in question is in the collect_single_arg function:

Thank you @toddw . I’ll look closer to collect_single_arg

@toddw but is there way to show calltips with params/function description?
Like Komodo do if found phpdoc documentation.

Not that I know of - there are some special perldoc handling routines in the parser code, but I couldn’t get an example where it would work for displaying calltips for functions.

Thanks again!