Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DSS on Linux



On 10/16/02 3:29 PM, "email@hidden" <email@hidden> wrote:


> Uh, that's the way the language was designed. The 'return 1;' shows the
> logical
> end of the include file.
> 

Just to clarify, I believe that you want to return true (1) from the
included file so that eval() will succeed (the "use" statement evals the
contents of the included file).
To indicate the logical end of the file, you're supposed to use __END__ (or
^D or ^Z), but coincidentally I don't think I've seen anyone do this.

We do return 1 at the end of most (but not all) of our included files.

-Joel Hedden
_______________________________________________
streaming-server-developers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/streaming-server-developers
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: DSS on Linux (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.