in reply to Re: Packages with subs using fully qualified class names, not always their own.
in thread Packages with subs using fully qualified class names, not always their own.
"...The ability to add some functionality to a class without inheriting from it is pretty nice..."
Yes. But isn't this the thing about "what a class does"?
Perhaps it might be better in such a case to use a plugin: Let it role, baby, role.
Just some callow thoughts. Please correct me if i'm wrong.
Best regards, Karl
«The Crux of the Biscuit is the Apostrophe»
perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Packages with subs using fully qualified class names, not always their own.
by roboticus (Chancellor) on Aug 31, 2017 at 17:25 UTC | |
by karlgoethebier (Abbot) on Sep 01, 2017 at 06:32 UTC |