use strict; if (! caller) { main(); exit 0; } sub main { # leave some room here. }