Hello all,

I found some time to experiment with ToolServer and found
some difficulties with Mac chars.

Starting with this little test script under MacPerl:

#!perl -lw
use strict;

print  `Echo {MPW}`;
print  `Echo {Shuck}`;
print  grep {/This is perl/} qx{perl -v};
print  qx{perl -e "print 22/7"};
print  qx{perl -e "print @INC"};
print  `perl -MNet::FTP \xB3 Dev:Null`;
# print  `perl -MO=Module::Info,foo some_file \xB3 Dev:Null`;
print  "done."
###

I got this result:

###
Festplatte:Projekte:MPW-GM:MPW:

Festplatte:Applications (Mac OS 9):MacPerl Ÿ:Shuck

This is perl, v5.6.1 built for MacPPC

3.14285714285714
# syntax error, near "Festplatte:"
File '-e'; Line 1
# Unrecognized character \xC4.
File '-e'; Line 1


done.
###

\xC4 is alt-f and seems to come from the MacPerl path.
Everything works find if I run
  perl -e "print @INC"
from within the MPW shell.

Do I need extra quotes when using the MPW tool through
ToolServer?


Thanks
Axel

Reply via email to