do_something($_) for ( exit => # comment sub => exec => do_something => # It's a string here, not a sub call! ); sub do_something { print "Got ($_[0])\n"; }