http://www.perlmonks.org?node_id=136161

rfb has asked for the wisdom of the Perl Monks concerning the following question: (object-oriented programming)

Would it be possible to override a method this way?
sub GD::Graph::axestype::create_x_label {
or \&GD::Graph::axestype::create_x_label = sub { I know these doesnt work because I've tried, is there another way like this?

-ryan

Originally posted as a Categorized Question.