bronto has asked for the wisdom of the Perl Monks concerning the following question:
So 5.8.0 is out.
As always, the first document I dig into when a new perl comes out is perldelta. In section New Modules and Pragmata we have:
Attribute::Handlers, originally by Damian Conway and now maintained by Arthur Bergman, allows a class to define attribute handlers. Both variables and routines can have attribute handlers. Handlers can be specific to type (SCALAR, ARRAY, HASH, or CODE), or specific to the exact compilation phase (BEGIN, CHECK, INIT, or END).
Anyway, in the same document, you read:
The my EXPR : ATTRS syntax now applies variable attributes at run-time. (Subroutine and our variables still get attributes applied at compile-time.) Note that the new semantics doesn't work with the Attribute::Handlers module (as of version 0.76).
The question is: how do you read these?
Any drop of wisdom for me?
Ciao!
--bronto
# Another Perl edition of a song:
# The End, by The Beatles
END {
$you->take($love) eq $you->made($love) ;
}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl 5.8.0 and Attribute::Handlers
by hakkr (Chaplain) on Jul 24, 2002 at 13:54 UTC | |
by Corion (Patriarch) on Jul 24, 2002 at 16:12 UTC | |
by bronto (Priest) on Jul 24, 2002 at 15:02 UTC | |
|
Re: Perl 5.8.0 and Attribute::Handlers
by stefp (Vicar) on Jul 29, 2002 at 21:00 UTC | |
|
Re: Perl 5.8.0 and Attribute::Handlers
by imoore (Novice) on Jul 25, 2002 at 06:59 UTC | |
by IlyaM (Parson) on Jul 25, 2002 at 10:18 UTC |