Symbolic reference for oo method

David R. Waddell dave.waddell at mci.com
Fri Dec 5 15:43:24 CST 2003


Hi All,
Does anyone know off the top of their head whether
symbolic references work for oo methods?

I want to read a line from an tab-delimited table and call
a routine like this:

$self->&{$column_text}(param1, param2);

so that if the text is 'LD', I would call this
routine using oo dispatch:

$self->LD(param1,param2);

I couldn't find anything in the perl documentation about
whether this would work.

all the best,
David




More information about the Pikes-peak-pm mailing list