At 12:08 AM 8/16/96, Paul Schinder wrote: >pudge@pcix.com (Chris Nandor) writes: >Get a hold of the "Applescript Language Guide", either at a bookstore or >on-line somewhere deep in Apple's site. They have .pdf's of the entire >book somewhere. Anyway, after you've saved your script as a compiled >script, you do something like: > >set myfunc to (load script file "path:to:compiled:script") >tell myfunc > do your stuff >end tell >tell application "Finder" > open alias "path:to:compiled:script" >end tell > >If what you want to return is complicated, you might be better off >doing this and writing to a temporary file which MacPerl can then read >rather than using load script. Thanks, but these are AppleScript commands; is there a MacPerl command that can execute the compiled script straight from MacPerl, i.e. "&MacPerl::DoCompiledScript("path:filename")? #================================================================ perl -e 'srand();if(rand>.5){$i=0;foreach(@ARGV){@$i=split(//);$z [$i]=0;foreach$l(@$i){$s[$i][$z[$i]]=$l;$z[$i]++;}$i++;}foreach$m (@s){foreach$g(@{$m}){print$g}print" ";$m++}}else{print(join(" ", @ARGV))}print"\n"' McClellan Clan Motto: Think On Chris Nandor pudge@pcix.com PGP Key 0xB76E72AD http://pudge.petersons.com/