"be consistent" | |
PerlMonks |
Re^2: How Are Attributes Useful?by beauregard (Monk) |
on Jan 18, 2005 at 22:55 UTC ( [id://423213]=note: print w/replies, xml ) | Need Help?? |
"shared" variables in threads::shared is a good real-world example of attribute use.
And the now deprecated "locked" attribute works (worked) almost identically to how Java handles the synchronized keyword on methods... c.
In Section
Seekers of Perl Wisdom
|
|