What does
$foo = <"filename">; # 1
$bar = <"another">;
$gaz = <"filename>; # 2
Does #2 get the second line or the first?
Can the <> contain a function? Your example seems to indicate that
it can. But if it is hard for me to parse visually, I'm not sure
how easy it would be for the parser.
<chaim>
>>>>> "PRL" == Perl6 RFC Librarian <[EMAIL PROTECTED]> writes:
PRL> =head1 ABSTRACT
PRL> In scalar context, the next line (or file) is read from the first item
PRL> in LIST. When the first item returns undef, the next item is read.
PRL> When there are no more items left, undef is returned.
PRL> Inside a while loop (or the conditional section of a for(;;) loop), $_
PRL> is assigned to the next line (or file) and tested for defined-ness.
--
Chaim Frenkel Nonlinear Knowledge, Inc.
[EMAIL PROTECTED] +1-718-236-0183