in reply to
find out the way program was called.
perldoc -f caller is maybe also a good hint.
Comment on
Re: find out the way program was called.
In Section
Seekers of Perl Wisdom