in reply to Calling perl file from .s file
If you want to call Perl from your .s-files (what are these? do you mean the statistics software?) then this is not a Perl-question but you have to figure out how to run commands from your s-environment, so you should go to a forum that has experts on that.