in reply to Re: Re: calling perl script from shell script
in thread calling perl script from shell script

Probably because you've got ret = $? or some other variant with spaces around the =. And the second is just plain wrong, as the $ is for interpolating in shell not a universal variable prefix. At any rate, it's not a perl problem; you need to look into something like Learning the bash Shell (ISBN 1565923472) or the Z shell intro.