Re: [perl #33751] [PATCH] Use INTERP in *.pmc files

2005-01-12 Thread Leopold Toetsch
Bernhard Schmalhofer (via RT) wrote: I noticed the there is an interesting mix of 'interpreter' and 'INTERP' Thanks, applied except dynclasses. I leave that part up for Sam - dunno if he got diffs there. leo

Re: Dimension of slices; scalars versus 1-element arrays?

2005-01-12 Thread David Green
OK, so at issue is the difference between an element of an array ($p5[1]) and a slice (that might contain only one element, @p5[1]), only generalised to n dimensions. (A problem which didn't exist in P5 because there were no higher dimensions!) And we don't want @B[4; 0..6] to reduce to a 1-

Re: Dimension of slices; scalars versus 1-element arrays?

2005-01-12 Thread David Green
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (David Green) wrote: >I can imagine "table context" being reasonably popular. [...] >(Taking a scalar and returning a list is less common, but I can >imagine a 2-D version of 'split' that turns a string into a table) One way to generalise i

taint mode generalization

2005-01-12 Thread Yuval Kogman
Hola... I think taint mode should be made reusable somehow, by implementing it in terms of contagious attribution... For example: my $string : secret = "password"; # the "secret" attr is # contagious, and causes memory to be overwritten before being # returned to the OS

Scope exit and timely destruction

2005-01-12 Thread Leopold Toetsch
Given is a Perl snippet like: { my $fh = IO::File->new; $fh->open(">test.tmp"); print $fh "a"; } The filehandle is closed automatically at scope exit and the file contains the expected contents. That's quite easy in the current Perl implementation as it does reference counting. At t

How to check external library dependencies in 'dynclasses'?

2005-01-12 Thread Bernhard Schmalhofer
Hi, I'm working on a dynamic PMC that ties into the GNU dbm library, http://www.ugcs.caltech.edu/info/gdbm/gdbm_toc.html. The implementation is fairly straightforward, and simple test cases are already working. However I'm not sure about how to check for the availability of 'libgdbm.so'. If 'li

Re: [perl #33751] [PATCH] Use INTERP in *.pmc files

2005-01-12 Thread Sam Ruby
Leopold Toetsch wrote: Bernhard Schmalhofer (via RT) wrote: I noticed the there is an interesting mix of 'interpreter' and 'INTERP' Thanks, applied except dynclasses. I leave that part up for Sam - dunno if he got diffs there. Applied. - Sam Ruby

CIA

2005-01-12 Thread Robert Spier
Parrot is now listed on CIA http://cia.navi.cx/stats/project/parrot This will track all future commits, making them available as a RSS feed, etc. This slows down commits a little because of some work the script does to try and merge requests. I can tweak a little if people start noticing a del