in reply to Identifing all filenames over 250 letters long

It's not clear whether you want the "filename" over 250 chars, or the entire "filepath" over 250 chars, so here's both:
use File::Finder; # in the CPAN my @long_names = File::Finder->eval(sub { length > 250 })->in('/'); my @long_paths = File::Finder->eval(sub { length $File::Find::name > 2 +50})->in('/');

-- Randal L. Schwartz, Perl hacker

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.
A reply falls below the community's threshold of quality. You may see it by logging in.