in reply to Re: There is a way to LOCK a SCALAR?
in thread There is a way to LOCK a SCALAR?
But thanks for the idea! ;-Ppackage main; my $pi; tie $pi, 'ConstScalar', 3.14159265358979323846; print "$pi\n"; untie $pi ; #### NOW AS A NORMAL SCALAR $pi = 5; # effect! print "$pi\n";
Graciliano M. P.
"Creativity is the expression of the liberty".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: There is a way to LOCK a SCALAR?
by BUU (Prior) on Dec 18, 2003 at 21:20 UTC | |
by gmpassos (Priest) on Dec 18, 2003 at 21:29 UTC | |
by duff (Parson) on Dec 19, 2003 at 01:42 UTC | |
by BUU (Prior) on Dec 18, 2003 at 22:29 UTC |