> =head1 IMPLEMENTATION
   > 
   > Tricky.  
   > 
   > Perl needs to know about scalar context, list context, and "finite
   > list" context. Presumably, if I/O routines behave this way, user
   > subs should be able to behave this way as well. Might use the same
   > machinery as lazy subs.

RFC 21 provides just the mechanism you (ahem) want in order to implement
a "finite list" context behaviour for the diamond operator.

Damian
   

Reply via email to