BEGIN { if (@ARGV[0] != 1) { &help; } } help { print "Show help message and exit\n"; exit; } use SomeModule;