|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
>>>>> "MCT" == Michael C Toren <mct@netaxs.com> writes:
>> Can you provide us an example of what you haven't seen? I use
>> references a lot, mostly implicitly. I don't know what \VARIABLE
>> is supposed to represent.
MCT> I believe he's referring to something like:
MCT> $foo = "xyzzy"; $bar = \$foo;
MCT> $bar is then a reference to $foo.
In that case, the answer is relatively easy.
That's poor perl programming.
You never (with a 99.9952334% probability) will ever need to do that.
It is a) bug prone
b) often a security hole
c) better solved with a hash or an array
The reason the syntax exists is buried somewhere in perl4 or earlier.
(And perl rarely removes things from the langauge.)
-R
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**
|
|