[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Command (backtick) operators in MPW Perl



At 18.02 98.01.29, David C. Schooley wrote:
>At 5:30 PM -0500 on 1/29/98, Chris Nandor supposedly said:
>>At 17.21 98.01.29, David C. Schooley wrote:
>>>Macperl.pod implies that the backtick operator will work under
>>>ToolServer, and
>>>therefore MPW. I haven't been able to get it to work except for the special
>>>cases like `Directory`. I would like to be able to spawn off other MPW
>>>scripts
>>>and tools. Has anybody gotten this to work?
>>
>>When I use the backticks for non-special cases, ToolServer launches.
>>Beyond that I can't say much.  :)
>>
>
>It works when you use the MacPerl application, but not MPW perl. I was hoping
>MPW perl could run other MPW things as sub-processes, but apparently that
>won't
>work.

print `date -n`;  #works in MacPerl app
perl -e 'print `date -n`'  #works in perl MPW tool

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10  1FF7 7F13 8180 B6B6'])
#==       New Book: MacPerl:  Programming for the Rest of Us       ==#
#==    Publishing Date: Early 1998. http://www.ptf.com/macperl/    ==#



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch