mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 18:32:56 +01:00
Move website files to /website/
This commit is contained in:
parent
430d8e6e17
commit
d9013a86c4
191 changed files with 9 additions and 9 deletions
18
website/index/samples/sample.perl.txt
Normal file
18
website/index/samples/sample.perl.txt
Normal 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";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue