[Chicago-talk] FindBin::libs : spurious warnings

Steven Lembark lembark at wrkhors.com
Mon Mar 15 21:46:59 CST 2004


> SunOS 5.8 / Perl 5.8.2.
>
> esummers at dinger[~]$ perl -MFindBin::libs -e 1;
> stat(//Lib): No such file or directory at
> /usr/local/lib/perl5/site_perl/5.8.2/FindBin/libs.pm line 151
> stat(//home/Lib): No such file or directory at
> /usr/local/lib/perl5/site_perl/5.8.2/FindBin/libs.pm line 151
> stat(//home/esummers/Lib): No such file or directory at
> /usr/local/lib/perl5/site_perl/5.8.2/FindBin/libs.pm line 151
>
> Program execution continues, but the warnings are kind of unsightly.

You may get faster reponse by sending it to me directly, but...


Please send me the output of "ls -l /home/Lib".

The output is probably comming from the abs_path in:

   142      my @libs =
   143          reverse
   144          map
   145          {
   146              $dir .= "/$_";
   147
   148              my $lib = abs_path "$dir/$base";
   149
   150              ! $found{$lib} && -d $lib ? ($found{$lib}=$lib) : ();
   151          }
   152          split '/', $Bin
   153      ;

 You probably have a dangling link and abs_path is complaining
 that it cannot resolve the symlink.

--
Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 888 359 3508



More information about the Chicago-talk mailing list