I use csh a lot but I don't really write csh scripts. Now I have a need to implement a security check (written in perl; verify an user input security code) into a csh script. Here is the senario:
#csh
- call the perl script
- if the perl script returns 'true', pass on;
if the perl script returns 'false', exit.
Could anyone kindly show me a sample csh code - how to pass an output from perl to csh script? (I can comfortably write perl scripts although not an expert - decision on using perl to implement the security check has several system-wide considerations)
Thank you in advance.
joe