use overload 
    '""'       => 'asString',
    'neg'      => 'reverse',
    '.'        => 'concatenate',
    'fallback' => 'TRUE';

Example 3: Overloading operators in the Sequence::Generic class.

Back to Article
Copyright © 1999, Dr. Dobb's Journal