Don't ask to ask, just ask | |
PerlMonks |
Re^2: How Are Attributes Useful?by Limbic~Region (Chancellor) |
on Jan 19, 2005 at 00:40 UTC ( [id://423227]=note: print w/replies, xml ) | Need Help?? |
talexb,
I don't mean offense, but this really doesn't help at all. The only example of attributes that I have seen that doing anything useful are the built-in ones that I mentioned in my question. You have described them without providing an example which is the same problem I had with the documentation. Can you give me an example of using attributes to make a read-only variable/sub? The question was looking for something tangible and to me this is just window dressing. Cheers - L~R
In Section
Seekers of Perl Wisdom
|
|