Same way as any other file, with unlink. Your computer doesn't care what language the filename is in.
$ perl -Mstrict -MPath::Tiny -wE '
my $filename = "شاب مراد كالعادة يصرع";
path( $filename )->spew("Hello, world");
say qx{cat "$filename"};
unlink $filename;
say qx{ls "$filename"};
'
Hello, world
ls: شاب مراد كالعادة يصرع: No such file or directory
|
Perhaps you meant something else? Maybe you need to learn about character encoding? See for example perlunitut, or this node.
In reply to Re: Files with arabic names
by 1nickt
in thread Files with arabic names
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |