The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

#!/usr/bin/perl
# $Id$
use strict;
my %options;
GetOptions(
'd' => \$options{depth},
'n' => \$options{nonet},
'f' => \$options{nocrossfs},
'l' => \$options{followlink},
);
my $tree = File::Find::Object->new({ %options }, @ARGV);
while (my $r = $tree->next()) {
print $r ."\n";
}