in reply to $object->UnrelatedPackage::some_subroutine()
Interesting yes, but IMO an all around bad idea. Not only does it cause confusion as to what $dbh is, it also causes confusion as how the SomeDatabaseStuff package fits into everything. As far as I am concerned, this is basically only useful as an obfuscation technique, and should never be used in real code.
*sigh* and people wonder why Java programmers think perl is not really OO (as if Java was really pure OO too, but that is another discussions all together).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: $object->UnrelatedPackage::some_subroutine()
by Thilosophy (Curate) on Feb 19, 2005 at 04:50 UTC | |
by Tanktalus (Canon) on Feb 19, 2005 at 05:57 UTC | |
|
Re^2: $object->UnrelatedPackage::some_subroutine()
by tilly (Archbishop) on Feb 19, 2005 at 02:12 UTC | |
by stvn (Monsignor) on Feb 19, 2005 at 02:37 UTC | |
by tilly (Archbishop) on Feb 19, 2005 at 02:55 UTC | |
by stvn (Monsignor) on Feb 19, 2005 at 03:02 UTC | |
by tilly (Archbishop) on Feb 19, 2005 at 03:12 UTC |