I have no problem with this. I agree...
$mysql::cluster::ndbapi::NdbOperation::LM_Exclusive is a bit disgusting
to type. :)
Mika Raento wrote:
> The new package name mysql::cluster::ndbapi is a bit of a hassle for
> writing perl, since there's no way to import the names from the package
> into your own namespace - rather you need to always fully qualify them.
> So C++'s NdbOperation::LM_Exclusive becomes the rather unwieldy
> $mysql::cluster::ndbapi::NdbOperation::LM_Exclusive .
> (Especially since referring to non-existent variables in another package
> isn't caught by 'use strict' so that if you mistype that you just
> silently get 0)
> I would propose just putting the package in 'ndbapi' (and 'mgmapi') for
> perl. For languages that have more namespace facilities (like Python)
> the long name is fine.
MySQL Inc., www.mysql.com
Get More with MySQL! www.mysql.com/consulting