Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by choroba (Abbot)
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?
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 drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2014-09-21 10:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (168 votes), past polls