Nathan Wiger <[EMAIL PROTECTED]> writes: > > > But it isn't "here" that's the problem. If we just wanted to change > > > the value "here", we could use my(). The problem is that local() > > > changes the value for somewhere else as well as here. > > > > Well, as has been pointed out, special^Wlocalized variables are > > scoped in time, not space, so: > > > > now $/ = "\n"; > > Personally, I like this alot, actually. It emphasizes what's going on > really well. And it's short! > > As for the "need a verb" argument, my() and our() aren't verbs either. $/ = "\n" now; feels more English somehow. Would almost certainly be a bugger for perl to parse though. As for the 'need a verb' argument, it doesn't apply here because the assignment is the verb. -- Piers
- Re: RFC: Rename local() operator Chaim Frenkel
- Re: RFC: Rename local() operator Nick Ing-Simmons
- Re: RFC: Rename local() operator Russ Allbery
- Re: RFC: Rename local() operator Nathan Wiger
- Re: RFC: Rename local() operator Nathan Wiger
- Re: RFC: Rename local() operator Buddha Buck
- Re: RFC: Rename local() operator Nathan Wiger
- Re: RFC: Rename local() operator Ariel Scolnicov
- Re: RFC: Rename local() operator John Porter
- Re: RFC: Rename local() oper... Nathan Wiger
- Re: RFC: Rename local() oper... Piers Cawley
- Re: RFC: Rename local() oper... Bart Lateur
- Re: RFC: Rename local() oper... Jonathan Scott Duff
- Re: RFC: Rename local() oper... Nathan Wiger
- Re: RFC: Rename local() operator Jonathan Scott Duff
- Re: RFC: Rename local() operator Peter Scott
- Re: RFC: Rename local() operator John Porter
- Re: RFC: Rename local() operator Bart Lateur
- Re: RFC: Rename local() operator Glenn Linderman