# -----Original Message----- # From: Dave Storrs [mailto:dstorrs@dstorrs.com] # Sent: Thursday, August 30, 2001 9:59 PM # To: The Perl6 Language List # Subject: Re: Source/Program metadata from within a program # # On Fri, 31 Aug 2001, Bryan C. Warnock wrote: # # > Access to the source code. # # Particularly comments and POD. Cool--I'd suggest a special $*CODE filehandle, to match $*DATA (that isn't going away, is it?). # I'd also like to be able to access information on the # particular perl that # is running this program...e.g., does it support 64-bit nums, # what is the # endianness of the native numbers, does it support threads and # (if so) what # threading model (though this is probably a moot point in P6, # perhaps it # is something that could be included into 5.8.x). Can't this sort of thing be in Config.pm (or its equivalent)? Since Parrot needs to know things like endian-ness and for reading precompiled bytecode anyway, we might as well make it convenient... --Brent Dax brentdax@cpan.org "...and if the answers are inadequate, the pumpqueen will be overthrown in a bloody coup by programmers flinging dead Java programs over the walls with a trebuchet."Thread Previous | Thread Next