ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl6-language
perl6-language
Re: sub my_zip (...?) {}
by Gaal Yahas other posts by this author
Jun 16 2005 9:25AM messages near this date
Re: sub my_zip (...?) {} | Re: sub my_zip (...?) {}
[Sent off-group by mistake. On #perl6 the impression was that now Pipe
is becoming a Role for things that can lazily be read from; and thus any
filehandle or lazy list fulfills them. Larry, please help us understand
if this is the case.]

On Thu, Jun 16, 2005 at 08:53:41AM -0700, Larry Wall wrote:
>  The semicolon operator no longer builds a list of lists, but a list
>  of pipes, which are specially marked Lazies that know they came from
>  pipe operators (including semicolons as a kind of pipe operator).
>  When bound to an ordinary splat array (or in fact any splat array whose
>  type isn't Pipe), the Pipes flatten as if they were comma separated.
>  When bound to an array of type Pipe, each pipe stays discrete.

I thought the class Pipe was reserved for what the result of open-"foo|"
is in Perl 5? That's what we call it in Prelude.pm at least; if it needs
to be renamed maybe IPC could work.

-- 
Gaal Yahas <gaal@[...].org> 
http://gaal.livejournal.com/
Thread:
Autrijus Tang
Larry Wall
Smylers
Gaal Yahas
Larry Wall
Dave Whipp
Larry Wall
Luke Palmer
Larry Wall

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved