Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: How do I check if a scalar in @_ is writable?

by beppu (Hermit)
on Oct 27, 2003 at 23:22 UTC ( [id://302568]=note: print w/replies, xml ) Need Help??


in reply to Re: How do I check if a scalar in @_ is writable?
in thread How do I check if a scalar in @_ is writable?

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://302568]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-03-28 23:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found