Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!bionet!apple!sun-barr!newstop!texsun!convex!convex.COM From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.lang.perl Subject: Re: = @array? Message-ID: <100197@convex.convex.com> Date: 23 Feb 90 00:16:17 GMT References: <15193@bfmny0.UU.NET> Sender: news@convex.com Reply-To: tchrist@convex.COM (Tom Christiansen) Organization: CONVEX Software Development, Richardson, TX Lines: 24 In article <15193@bfmny0.UU.NET> tneff@bfmny0.UU.NET (Tom Neff) writes: >You can do this now with print and foreach or join, but the symmetry >would still be nice. You don't need foreach or join; this does it: print FILE @array; but I agree that the symmetry is esthetically appealing to have be an lvalue. I just don't think it's particularly neccesary, just as @array += 3; is nice (and I don't even know APL :-) but also unnecessary since you can always use: grep($_ += 3, @array); --tom -- Tom Christiansen {uunet,uiucdcs,sun}!convex!tchrist Convex Computer Corporation tchrist@convex.COM "EMACS belongs in : Editor too big!"