I found a module to set the readonly flag in the scalar:
But the user still can use the same module to unset the flag! ;-PInternals::SetReadOnly(\$foo);
Soo, using tie or XS to make this will be the same! Maybe I will use tie, since it's pure Perl and I'm already using a lot of tie in the enverioment for other things.
Graciliano M. P.
"Creativity is the expression of the liberty".
In reply to Re: Re: Re: Re: There is a way to LOCK a SCALAR?
by gmpassos
in thread There is a way to LOCK a SCALAR?
by gmpassos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |