Beta Shell
v2.0 ยท web2.us.cloudlogin.co
[FM]
[CMD]
[PHP]
[DB]
[INFO]
[SEC]
File Manager
~
/
usr
/
share
/
doc
/
perl-File-Find-Object
/
examples
Upload
3 items
Name
Size
Perms
Modified
Actions
[ .. / .. ]
tree
361 B
-rw-r--r--
2017-01-13 15:43:25
Edit
Del
Editing: tree
(361 B)
Path: /usr/share/doc/perl-File-Find-Object/examples/tree
Back
#!/usr/bin/perl # $Id$ use strict; use warnings; use File::Find::Object; use Getopt::Long; 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"; }