Add missing samples

This commit is contained in:
Alex Dima 2020-09-21 12:18:52 +02:00
parent 26ff8cb857
commit db4c9f21b4
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0
52 changed files with 5060 additions and 540 deletions

View file

@ -0,0 +1,18 @@
#!/usr/bin/perl
use strict;
use warnings;
use Path::Tiny;
my $dir = path('foo','bar'); # foo/bar
# Iterate over the content of foo/bar
my $iter = $dir->iterator;
while (my $file = $iter->()) {
# See if it is a directory and skip
next if $file->is_dir();
# Print out the file name and path
print "$file\n";
}