You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at RT#132885, it seems like it could be handy to have IO::CatHandle.handles method (or io-handles to differentiate from handles the verb) that simply returns a Seq of the handles. Starting with the $!active-handle and calling .next-handle on each .pull-one. Then the code in that ticket could be just written like:
Lets the user work on source handles individually, which is
especially handy when working with $*ARGFILES. e.g.:
# print at most the first 2 lines of each file in $*ARGFILES:
.say for flat $*ARGFILES.handles.map: *.lines: 2
Addresses R#1546 #1546
Looking at RT#132885, it seems like it could be handy to have IO::CatHandle.handles method (or
io-handlesto differentiate fromhandlesthe verb) that simply returns aSeqof the handles. Starting with the$!active-handleand calling.next-handleon each.pull-one. Then the code in that ticket could be just written like:The text was updated successfully, but these errors were encountered: