Luke Palmer <[EMAIL PROTECTED]> writes: > Well, perhaps not. Theoretically, at this point, $file has been > read completely. It's just that it's lying and it hasn't really. > But if you try to read again, it should resync and things should > work properly.
That's all well and good if the filehandle points to a file, but what if it's a socket? > Fortunately, if you fear such effects, you can use the eager flattener: > > my @list = **mklist; Ah. But shouldn't some things flatten themselves automagically? (I know, I know, the question becomes then, "Which things, exactly?") -- $;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,"[EMAIL PROTECTED]/ --";$\=$ ;-> ();print$/