#!/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': $!/$?};