Path: utzoo!attcan!uunet!lll-winken!sun-barr!cs.utexas.edu!radar!milano!bigtex!texsun!convex!tchrist From: tchrist@convex.com (Tom Christiansen) Newsgroups: comp.lang.perl Subject: return from main Message-ID: <106927@convex.convex.com> Date: 7 Oct 90 03:59:53 GMT Sender: usenet@convex.com Reply-To: tchrist@convex.Com (Tom Christiansen) Organization: Convex Computer Corp, Richardson, TX Lines: 16 Trying to return from main causes an error message. perl -e 'return 1' Bad label: _SUB_ at /tmp/perl-e025554 line 1. I would like to see a return from main to be the same as exit, just as it is in C. In any event, it shouldn't complain about a Bad Label. --tom ps: I'm at Patchlevel 18. -- "UNIX was never designed to keep people from doing stupid things, because that policy would also keep them from doing clever things." [Doug Gwyn]