>
> Not sure this is what you are after but ...
>
> *x = \15;
> print "\$x=$x\n";
> $x = 16; # => Modification of a read-only value attempted at ...
> print "\$x=$x\n";
>
> Jenda
You're a genius!
I'd love to understand further:
- why using a glob like that makes it readonly
- why you have to \15 instead 15 to assign it a value(is it to show it's a
scalar?)
- does this work with arrays/hashes/etc of *x?
- how do assign something besides a nuber to $x? ( *x = \grabdata(); or *x =
\"hi there";)
- how do I assign somthign to @x or %x etc...
Any input anyone?
TIA
Dan
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]