in reply to Re: -s switch in perl
in thread -s switch in perl

I think you meant to say:
if ( -e "/tmp/xyz" && ! -z _ ) {}
(quotes around file name, and use of "_" to re-use the most recent stat results, rather than using stat twice in a row on the same file).