Shawn H Corey wrote:
> Uri Guttman wrote:
>> why the || '' ??
>>
>> the help sub doesn't seem to exit/die
> 
> Not proven; you cannot assume this.
> 
> One school of thought about programming is that all functions must have
> only one return and all programs must have only one exit.  Therefore,
> help() may return or it may not.
> 
> Until you actually see the help() sub, you don't know if it returns.

...my personal claim still stands, so take it into consideration: I am a
network engineer, not a programmer.

With that said, unless the return value is documented, isn't it a safer
approach to assume the worst case scenario (ie. in this case, that it
doesn't have the complete call stack terminate)?

Steve

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to