# -----Original Message-----
# From: Michael G Schwern [mailto:[EMAIL PROTECTED]]
# Sent: Thursday, August 30, 2001 10:13 PM
# To: Bryan C. Warnock
# Cc: [EMAIL PROTECTED]
# Subject: Re: Source/Program metadata from within a program
#
#
# On Fri, Aug 31, 2001 at 12:45:03AM -0400, Bryan C. Warnock wrote:
# > Access to the source code.
#
# Already got that.
#
#     use Fcntl qw(:seek);
#     seek DATA, 0, SEEK_SET;
#     @code = <DATA>;

IMHO, that's too hackish--just reading that doesn't make what you're
doing obvious.  An explicit $*CODE filehandle would make more sense to
the uninitiated.

--Brent Dax
[EMAIL PROTECTED]

"...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."

Reply via email to