I am working on converting shell to Perl script. In shell we have built in function
trap
Do you know alternative in Perl or actually we don't need it?
Thanks for contribution
I am working on converting shell to Perl script. In shell we have built in function
trap
Do you know alternative in Perl or actually we don't need it?
Thanks for contribution
I did, but I don't know why shell is using trap. It is clean directories and exit
... or to do whatever 'cleanup' needs to be done (based on the script functionality)