in reply to Re^6: perlApp --gui and chdir
in thread perlApp --gui and chdir

my apologies yes error checking on path would help the problem is after compiling finding the current user is failing

So why not check for errors after qx{}?

But you should use %ENV or File::HomeDir->my_desktop

Replies are listed 'Best First'.
Re^8: perlApp --gui and chdir
by diamondsandperls (Beadle) on Jul 01, 2012 at 22:46 UTC
    use Win32; my $username = Win32::LoginName;