Hi,
I am suppose to write perl-CGI script, which supports CLI & CGI mode. And I am unable to find the way to distinguish between two mode. I am looking for the way to check for mode whether it is CLI or CGI ?
So could you please let me know how to implement the logic?
Thanks in advance.