Why bother, actually, when it can just be a lazy list... Opendir and
closedir are very oldschool, and can be retained for whatever
technical detail they are needed, but in most modern code I think
that:
for readdir($dir_name) { .say }
should work as well.
The act of opening a directory
On Fri, Apr 13, 2007 at 07:43:23PM -0500, brian d foy wrote:
As I was playing around with dirhandles, I thought What if... (which
is actualy sorta fun to do in Pugs, where Perl 5 has everything
documented somewhere even if nobody has read it).
My goal is modest: explain fewer things in the
Jonathan Lang writes:
Also: why distinguish between open and opendir? If the string is
the name of a file, 'open' means open the file; if it is the name of
a directory, 'open' means open the directory.
Many programs open a file from a name specified by the user. Even if
Copenfile existed,
Hi,
This patch broke the build on some platforms (Win32 with MSVC++ included).
INTVAL
PIO_poll(Interp *interp, PMC *pmc, INTVAL which, INTVAL sec, INTVAL
usec)
{
+if (pmc == PMCNULL) {
+ real_exception(interp, NULL, E_ValueError, Can't poll NULL
pmc);
+}
ParrotIOLayer *
# New Ticket Created by Jerry Gay
# Please include the string: [perl #42508]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=42508
in #41894, a patch was applied with a test like:
pmc == PMCNULL
the preferred way
# New Ticket Created by Steve Peters
# Please include the string: [perl #42509]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=42509
ndex: src/exec_save.c
On Saturday 14 April 2007 09:17, Steve Peters wrote:
# New Ticket Created by Steve Peters
# Please include the string: [perl #42509]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=42509
Thanks, applied as r18204.
On Mon Jul 10 17:25:13 2006, chip wrote:
Parrot's default namespace implementation should be 100% untyped --
basically just a hash with some additional methods.
Making this happen requires solving the problem of Parrot's currently
requiring classes and class method namespaces to have the
On Apr 14, 2007, at 7:44 AM, Jonathan Worthington wrote:
Hi,
This patch broke the build on some platforms (Win32 with MSVC++
included).
INTVAL
PIO_poll(Interp *interp, PMC *pmc, INTVAL which, INTVAL sec, INTVAL
usec)
{
+if (pmc == PMCNULL) {
+ real_exception(interp, NULL,
# New Ticket Created by chromatic
# Please include the string: [perl #42510]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=42510
The attached patch moves only the main() function out of compilers/imcc/main.c
into
Hello,
sorry about the dumb question but I'm not sure I understand the
at($pos) assertion.
If I write something like
my $s=hello
s/at(1)/a/
I expected it to give me
hallo
whereas it give ms
haello.
Does it mean that basically the assertion is a character/string property
instead of the
* gabriele renzi [EMAIL PROTECTED] [2007-04-14 22:20]:
sorry about the dumb question but I'm not sure I understand the
at($pos) assertion.
If I write something like
my $s=hello
s/at(1)/a/
I expected it to give me
hallo
whereas it give ms
haello.
Does it mean that basically the
On Saturday 14 April 2007 12:44, chromatic wrote:
The attached patch moves only the main() function out of
compilers/imcc/main.c into src/main.c. There's a lot more work to do to
clean up this mess, including RT #37248.
If you want a patch that compiles, try instead this one.
Note that it
Hi,
I just backed out one small part of this patch because it broke the
build using MS VC++ on Win32.
Steve Peters (via RT) wrote:
ndex: src/exec_save.c
===
--- src/exec_save.c (revision 18179)
+++ src/exec_save.c
I am trying to determine the purpose of a certain block of code in
Configure.pl. In the most recent version in trunk, we find:
if ( exists $args{step} ) {
$conf-data()-slurp();
$conf-runstep( $args{step} );
print \n;
exit(0);
} else {
# Run the
On Thu, Apr 12, 2007 at 04:56:15PM +0200, [EMAIL PROTECTED] wrote:
On Thu, Apr 12, 2007 at 09:13:14AM -0500, Steve Peters wrote:
On Thu, Apr 12, 2007 at 01:37:24PM +0200, Ron Blaschke wrote:
While poking the GCC documentation I found that there's a feature
available to limit the exported
From: Alek Storm [EMAIL PROTECTED]
Date: Thu, 12 Apr 2007 21:55:34 -0500
On 4/11/07, Allison Randal [EMAIL PROTECTED] wrote:
They might not clone their classes from the user perspective, but
internally it's the only truly safe way to modify a class that already
has objects
On Sat, Apr 14, 2007 at 06:41:19PM -0400, James Keenan wrote:
I am trying to determine the purpose of a certain block of code in
Configure.pl. In the most recent version in trunk, we find:
...
My questions are:
1. If you've already configured, why would you want to add another
step
Author: allison
Date: Sat Apr 14 17:00:11 2007
New Revision: 18212
Modified:
trunk/docs/pdds/draft/pdd17_basic_types.pod
Log:
[pdd]: Adding some questions about PMC role composition from IRC.
Modified: trunk/docs/pdds/draft/pdd17_basic_types.pod
Author: allison
Date: Sat Apr 14 17:06:35 2007
New Revision: 18213
Modified:
trunk/docs/pdds/pdd15_objects.pod
Log:
[pdd]: Add clarification of get_class behavior with various different types of
arguments.
Modified: trunk/docs/pdds/pdd15_objects.pod
On Sat, Apr 14, 2007 at 11:05:27PM +0100, Jonathan Worthington wrote:
Hi,
I just backed out one small part of this patch because it broke the
build using MS VC++ on Win32.
Steve Peters (via RT) wrote:
ndex: src/exec_save.c
On Apr 14, 2007, at 7:18 PM, Patrick R. Michaud wrote:
On Sat, Apr 14, 2007 at 06:41:19PM -0400, James Keenan wrote:
I am trying to determine the purpose of a certain block of code in
Configure.pl. In the most recent version in trunk, we find:
...
My questions are:
1. If you've already
Juerd wrote:
Jacinta Richardson skribis 2006-09-21 0:13 (+1000):
My biggest gripe with CGI's html methods is the inconsistency in their
names. I use them every now and then, but I always have to go and look
up the documentation. It's textfield isn't it? So that would make
this one
Fixed in r18215.
Author: chromatic
Date: Sat Apr 14 20:31:19 2007
New Revision: 18216
Modified:
trunk/docs/pdds/draft/pddXX_pmc.pod
Changes in other areas also in this revision:
Modified:
trunk/docs/vtables.pod
trunk/lib/Parrot/Pmc2c.pm
trunk/lib/Parrot/Vtable.pm
trunk/src/hll.c
On 4/11/07, chromatic [EMAIL PROTECTED] wrote:
Allison's right about method visibility outside of the vtable, and
throwing :anon on there seems a little hacky.
Is this a behavior problem or a syntax problem? IIUC, putting :anon on a
sub makes it inaccessible only through the namespace - the
26 matches
Mail list logo