Olivier Wirz wrote:

Hello,

I would like to know if there is a way to check $? to see whether the programm ran correctly in such a statement:

@results =`grep $search $_`;


Yes using the $? variable. ($? >> 8) will give you the exit status.
perldoc perlvar
perldoc -f system



Thank you

Olivier




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to