madtoperl has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: Why this error message comes?
by Corion (Patriarch) on Aug 02, 2006 at 14:34 UTC

    I assume you are converting your Perl script to an .exe file using PAR.

    The way PAR works is that it injects a code reference into @INC, which trips you up when you iterate over it. A solution to eliminating this warning would be to make sure you only process plain scalars in your File::Find subroutine:

    foreach my $dir (grep { ! ref } @INC) {
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Why this error message comes?
by gopalr (Priest) on Aug 03, 2006 at 07:47 UTC

    Hi,

    which software are you using to convert?

    Check Version of Perl and perl2exe.