in reply to Re^2: DBD::Pg - function declaration and using alias $n
in thread DBD::Pg - function declaration and using alias $n

Those functions might be nicer if they live in their own application specific namespace.

The code you gave above should work, actually. Thanks for pointing out the interesting syntax.

$dbh->My::App::poo( 12345 );
I had no idea this works (calling an object with a fully qualified "method" name). I am going to mention this pattern in the module's docs.

Replies are listed 'Best First'.
Re^4: DBD::Pg - function declaration and using alias $n
by diotalevi (Canon) on Feb 17, 2005 at 22:34 UTC
    They'll allow you to use perl's ISA relationships to drive which function is actually called. If that is useful to you.