On Fri, Jun 08, 2001 at 11:35:57PM -0500, David L. Nicol wrote: > > Hi everyone > > Here is my first piece of perl source code hacking. As predicted, > it was trivial, requiring modifications to only nine files in the > 5.7.1 source: > > opcode.pl > hv.c > pp.c > toke.c > intrpvar.h > mg.c > av.c > keywords.h > embed.pl > > The attached patch defines a pointer-to-sv stash where the perl > operations "defined" and "exists" store a copy of whatever they > were determining the definedness or existence of; also a new > operator, C<it> which provides (read-only) access to the stash. Nice, but I think $it would be slightly more useful, as that interpolates easier than it(). However, if it is a function, what does it do with list context? @a = (1 .. 5); defined @a; print it; Does that print 12345? If not, should it? ;-) Abigail ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe