Try echo to see what's going on.
In reply to Re: Getting error when runing perl through ssh by PodMaster in thread Getting error when runing perl through ssh by perlknight