Hi Monks, this question is regarding the special variable $? Is there a known portability issue between Perl and Windows related to $? When I use the following piece of code #--------------------------------------------- my $cmd = "$search_application something"; my $ret = qx($search_application); unless ( $? == 0 ) { print "value \$? : $?\n"; die "Something not found\n"; } #--------------------------------------------- on Unix the $? has value 256 which is correct. But on windows $? stays 0 which I can not explain. When I run the command in a shell both unix and windows shell variables $? and %ERRORLEVEL% are "1" so the application is not the problem. Thanx in advance!