CARVIEW |
Select Language
HTTP/2 200
cache-control: max-age=43200
server: Combust/Plack (Perl)
vary: Accept-Encoding
content-encoding: gzip
content-length: 1852
content-type: text/html; charset=utf-8
last-modified: Sat, 11 Oct 2025 23:02:55 GMT
traceparent: 07ceed8bfde67ac50ce1d64cda8a364d
strict-transport-security: max-age=15768000
Re: Diamond iteration (was: Fighting the Good Fight against spamdeluge) - nntp.perl.org
Front page | perl.perl5.porters |
Postings from August 2008
nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About

Re: Diamond iteration (was: Fighting the Good Fight against spamdeluge)
Thread Previous | Thread NextFrom:
AbigailDate:
August 1, 2008 08:43Subject:
Re: Diamond iteration (was: Fighting the Good Fight against spamdeluge)Message ID:
20080801154345.GI29536@almandaOn Fri, Aug 01, 2008 at 09:26:57AM -0600, Tom Christiansen wrote: > > I still yearn for <> to work on DHs opened by opendir, too. > Never saw why it didn't. But how would you know whether <HANDLE> operates on a filehandle named HANDLE, or a dirhandle named HANDLE? Perl allows them to coexist: use strict; use warnings; open HANDLE, "/etc/passwd" or die; opendir HANDLE, "/etc" or die; while (<HANDLE>) {print} # Prints the content of /etc/passwd say while $_ = readdir HANDLE; # Prints the files in /etc If <HANDLE> operated on dirhandles as well, it wouldn't be clear what the penultimate line would do. AbigailThread Previous | Thread Next
- Re: Iterator::Diamond (Was: Re: Fighting the Good Fight against spam deluge) by Tom Christiansen
- Re: Fighting the Good Fight against spam deluge by Johan Vromans
- Re: Fighting the Good Fight against spam deluge by chromatic
- Fighting the Good Fight against spam deluge (was: Senatorial (Senescent?) reflective pause) by Tom Christiansen
- Re: Fighting the Good Fight against spam deluge (was: Senatorial(Senescent?) reflective pause) by Tim Bunce
- Re: Fighting the Good Fight against spam deluge (was: Senatorial (Senescent?) reflective pause) by jm
- Re: Fighting the Good Fight against spam deluge (was: Senatorial (Senescent?) reflective pause) by jvromans
- Diamond iteration (was: Fighting the Good Fight against spam deluge) by Tom Christiansen
- Re: Diamond iteration (was: Fighting the Good Fight against spamdeluge) by Abigail
- Re: Fighting the Good Fight against spam deluge by Roland Giersig
- Re: Fighting the Good Fight against spam deluge by Johan Vromans
- Re: Fighting the Good Fight against spam deluge by chromatic
- Re: Fighting the Good Fight against spam deluge by H.Merijn Brand
- Re: Fighting the Good Fight against spam deluge by Roland Giersig
- Re: Fighting the Good Fight against spam deluge by jvromans
- Re: Fighting the Good Fight against spam deluge by Tom Christiansen
- Re: Fighting the Good Fight against spam deluge by Johan Vromans
- Re: Fighting the Good Fight against spam deluge by Roland Giersig
- Re: Fighting the Good Fight against spam deluge by H.Merijn Brand
- Re: Diamond iteration (was: Fighting the Good Fight against spam deluge) by Tom Christiansen
- Re: Diamond iteration (was: Fighting the Good Fight against spamdeluge) by H.Merijn Brand
nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About