Being able to determine if a script has successfully run in SSIS is very important.
Using Perls exit value command allows the value of a successful execution to be passed to the SSIS process task.
Then set the value in SSIS;
Useful sources:
To pass a variable from the perl script use the print command, it will be captured as a string in the SSIS 'StandardOutputVariable. A useful how to guide here.