>I found some time to experiment with ToolServer and found >some difficulties with Mac chars. > >Starting with this little test script under MacPerl:
<Snip the examples that seem to work fine> >print qx{perl -e "print @INC"}; See perlop: Customary Generic Meaning Interpolates `` qx{} Command yes (unless '' is delimiter) So the string inside the qx{} quote is already interpolated; the @INC variable is interpolated into the string for qx{} to execute. On my system that means that you're actually trying to run this command: print qx{perl -e "print Programs:Programming:Perl5.6.1:lib:MacPPC: Programs:Programming:Perl5.6.1:lib: Programs:Programming:Perl5.6.1:site_perl:MacPPC: Programs:Programming:Perl5.6.1:site_perl: : Dev:Pseudo:"}; basically. Using your example I got the same error as you: # syntax error, near "Programs:" File '-e'; Line 1 # Execution of -e aborted due to compilation errors. Changing your example to: print qx{perl -e "print \@INC"}; the output was a single colon. P