Get used to Scalar::Util and List::Util now - they're standard modules in 5.8.use Scalar::Util qw(readonly); ... if (readonly $x) { ... }
In reply to Re: Re: How could I check if a variable is 'read-only'?
by robin
in thread How could I check if a variable is 'read-only'?
by vladb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |