Re: Defaults in flags()

John Williams <[email protected]> Wed, 9 Aug 2006 09:27:00 -0600 (MDT)
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
On Wed, 9 Aug 2006, Hans Dieter Pearcey wrote:
> On Wed, Aug 09, 2006 at 08:55:04AM -0400, David Wheeler wrote:
> > > "inherit" should define a component path.
> >
> > Flags are booleans, I believe. It seems kind of odd that inherit
> > actually stores something other than a 1 or a 0.
>
> HTML::Mason::Devel says:
>
>   the value may be any scalar value, including references
>
> The only flag I know about is 'inherit', so the idea that "flags are
> booleans" boggles me.  Where did you find it?  (non-rhetorical)

I think he is referring the dictionary definition of flag, as used in
computer programming.

http://www.worldwideschool.org/library/books/tech/computers/TheHackersDictionaryofComputerJargon/chap25.html

In mason, the flags section is for non-inherited, private attributes.
So he is right.  We are misusing the term a bit.

~ John Williams


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642