At the beginning of an MPW perl script, I have:

        Perl -Sx "{0}" {"Parameters"}; Exit {Status}

However, if I try to run that script with:

        Perl scriptname

then Perl complains.  Any thoughts on what to do about it?  Is there a way
to make a script work when called by its own name AND when called by perl?

-- 
Chris Nandor                      [EMAIL PROTECTED]    http://pudge.net/
Open Source Development Network    [EMAIL PROTECTED]     http://osdn.com/

Reply via email to