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


in reply to How to export multiple packages in one file to another Perl program?

What do you mean by an OO constant?
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: How to export multiple packages in one file to another Perl program?
by Wcool (Novice) on Oct 04, 2012 at 18:00 UTC
    I have some methods that take optional parameters like this: $OBJ1_SORT_BY_SIZE $OBJ1_SORT_BY_DATE $OBJ1_SORT_BY_USER I want these labels exported. Of course I could create different methods for each label but prefer to have one sort method taking additional parameters So OO constant is a constant used by the object but that needs be known outside the object