LW said: > > : <...> - readline > > Iterate interator. >
Couldn't we go the python way and assume that <..> is implicit in "for" statments: $fh = open(..); for $fh { # instead of for <$fh> print $_; } For explicit iteration, we could well do just with a ".next" method: while ($line = $fh.next) { print $line; } And the old perl construct: while (<>) { print $_ }; Could be replaced with a open() without arguments, such as: for open() { print $_; } And then <..> could go back to being a gentler replacement of qw<..>. Or is there any problem that my blind eyes can't see? -angel