Dear Mongers!
Need your help with Cyrillic names. Here is the simple code:
then I type *C:/Users/Артём/* , ofc without "*" and it prints only the files of ./ directory - chdir fails! How can I fix this? My Username is in Cyrillic symbols and I want Perl to understand it...#!/usr/bin/perl -w use strict; use warnings; use locale; use Cyrillic; chomp (my $interest = <STDIN>); print_dir ($interest); sub print_dir { chdir shift; foreach (glob "./*"){ print $_ ,"\n"; }; }
In reply to Cyrillic names of directories by Artimus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |