[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: [NEW TEST t/op/our.t 5.005_63] scope tests for our()
>I noticed that our() had no test script. I copyed my()'s test script,
>since they're supposed to have the same scoping rules, and pretty much
>just s/my/our/g and ran it.
Wrong. You misunderstood.
They have the same visibility rules. But the entities still
have different lifetimes. And when you mix with assignment,
you are manifesting great confusion.
--tom
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]