in reply to
Detection of main script / libraries
Try: __FILE__ eq $0 and main();
Comment on
Re: Detection of main script / libraries
In Section
Seekers of Perl Wisdom