I'm sure this will be easy for someone, but I'm not finding it now...

I have a perl program that  normally runs by cron, but occasionally
manually. I want to handle the output differently depending on how it
is run. Yes, I could add a flag to the arguments, but I seem to
remember there being a more fundamental way to determine at runtime.
Anyone know?

Thanks,

Steve