Hello monks
What it is wrong with this code? My file is: $DocumentPath="сервис.pdf" (Windows 10, ActiveState 5.16)
#!/usr/local/bin/perl -w use strict; use utf8;#no change if I use this or not my $commandline = qq{start "$DocumentPath"}; system($commandline) == 0 or die qq{Couldn't launch '$commandline': $!/$?};
If instead of Russian I have latin letters, I do not experience any problems
In reply to Non asci character and system call by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |