|
|
| No such thing as a small change | |
| PerlMonks |
Re: Re: How do I check if a scalar in @_ is writable?by beppu (Hermit) |
| on Oct 27, 2003 at 18:22 UTC ( [id://302568]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Yeah, I admit that the API is shitty, but I was just amusing myself with @_ aliasing when I found this error. I was the only user of this little subroutine, anyway, and it wasn't part of any library I was going to distribute or anything.
Thanks for the tip on Scalar::Util::readonly(), and thanks to everyone else for their comments.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||