Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

could not open declaration

jason
2013-01-10
2013-05-20
  • jason
    jason
    2013-01-10

    I have the simple code below:
    #!/usr/bin/perl
    use List::Util qw/max/;
    print max(1,2);

    and I try to view the source code of max sub by pressing F3, then I got error like below:

    Could not locate declaration for "max".

    Check Perl Include Path in Project Poperties.

    is there anyone knows how to fix this problem?

    Thanks in advance