This is my most recent attempt to call a perl script using the shell object in osx. I chown the perl script so it should be executable- but I never get any output from the [shell]. has someone found a similar problem? How can I overcome? I need to have a pd perl relationship develop on my computer- but there is some sort of incompatibility... I am frustrato maestoso.

Sunji

<pd code>
#N canvas 0 22 454 304 10;
#X obj 116 191 shell;
#X msg 116 84 add2 \$1;
#X obj 116 34 inlet;
#X obj 117 269 outlet;
#X obj 146 249 outlet;
#X msg 115 148 perl 2appender.pl if;
#X msg 61 112 set perl 2appender.pl;
#X msg 61 69 bang;
#X obj 72 243 print;
#X msg 186 84 add2 \$1;
#X obj 186 34 inlet;
#X msg 256 84 add2 \$1;
#X obj 256 34 inlet;
#X msg 256 121 bang;
#X msg 180 184 perl 2appender.pl friends SECOND 45;
#X msg 30 221 \; \$1;
#X msg 149 219 print err;
#X text 247 209 we are trying to call;
#X text 247 218 my little script;
#X text 246 229 2appender;
#X connect 0 0 3 0;
#X connect 0 0 8 0;
#X connect 0 0 15 0;
#X connect 0 1 4 0;
#X connect 0 1 16 0;
#X connect 1 0 5 0;
#X connect 2 0 7 0;
#X connect 2 0 1 0;
#X connect 5 0 0 0;
#X connect 6 0 5 0;
#X connect 7 0 6 0;
#X connect 9 0 5 0;
#X connect 10 0 9 0;
#X connect 11 0 5 0;
#X connect 11 0 13 0;
#X connect 12 0 11 0;
#X connect 13 0 5 0;
#X connect 14 0 0 0;

</pd code>

<perl code>

#!/usr/bin/perl

# Hi! I take 3 arguments, here;

$Save_Param = $ARGV[0];
$Open_Route = $ARGV[1];
$Save_Value = $ARGV[2];

# and I concactenate (??) here like so;

print "2$Save_Param$Open_Route $Save_Value\n";

# this is a bit of
# format recall voodoo for
# the crazy machine

</perl code>