>>>>> "SHC" == Shawn H Corey <[email protected]> writes:
SHC> Uri Guttman wrote: >> why the || '' ?? >> >> the help sub doesn't seem to exit/die SHC> Not proven; you cannot assume this. SHC> One school of thought about programming is that all functions must have SHC> only one return and all programs must have only one exit. Therefore, SHC> help() may return or it may not. that school leads to gotos and spaghetti logic. last/next/return are your friends. i have see code where one exit is forced and it looks forced. ewww. SHC> Until you actually see the help() sub, you don't know if it returns. true. but i had to point out your own assumption that it DID return and not exit. these are the trials and tribulations when we use PSI::ESP to see invisible code. uri -- Uri Guttman ------ [email protected] -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
