Instead of the solution suggested in the original message, it would be cleaner 
to escape the $tmp argument using the Perl quoting operators:

 my $found = 0;
  find sub {
    return if $File::Find::dir =~ m|^\Q$tmp\E/usr/share/doc/|;
    return unless -f and /\.py$/;
    $found++;
  }, $tmp;

(And yes, I saw this problem too when trying to build player under pbuilder.  
This really needs to get fixed as soon as possible.)
-- 
Daniel Schepler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to