Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by choroba (Chancellor)
on Oct 04, 2012 at 15:07 UTC ( #997248=note: print w/ replies, xml ) Need Help??


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

What do you mean by an OO constant?
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
  • Comment on Re: How to export multiple packages in one file to another Perl program?

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997248]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2016-08-27 06:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (378 votes). Check out past polls.