On 07/27/2015 01:27 AM, Justin C wrote:
> On 2015-07-26, T <T...@invalid.invalid> wrote:
>>
>> Hi Uri,
>>
>> Thank you for helping me with this.
>>
>> This is what I think you are saying:
>>
>> @EXPORT is grab bag (everything listed in the array)
>>
>> @EXPORT_OK is specific. The importer has to specifically
>> ask for each item in the array
>
>
> T,
Hi Justin,
> Stop running around like a headless chicken. This stuff is not what a
> beginner needs. You're going to confuse youself by learning about the
> esoteric practices of Perl experts and still not know how to actually
> get anything done.
I prefer Pin Ball. I tried going through Perl courses twice.
I do not learn that way. I actually fell asleep. I learn
by jumping in both feet and doing something useful I need.
> You don't need to know about EXPORT until you're
> writing modules - and even then you might not need it,
I will be doing my first module probably sometime this
week. Or at least that is the game plan.
> I've written
> dozens of modules over the last fifteen or so years and I've never
> used it.
Okay, I will bite. All of the documentation on modules I
have been reading say I have to use EXPORT or EXPORT_OK so
that the internal functions/subs can be seem by the
calling script. How are you doing this without EXPORT?
>
> Your quest for a Perl education has, so far, covered huge depth, but
> no breadth. Ignore the side-streets the replies to your queries may
> open, and get the job done. Having a finished project you can look
> back on is much more educational than having sheaves of notes but
> nothing tangible.
Not the way I work. I open my directory of notes in Krusader
next to my coding window (Leafpad or vi). I also open
several terminal windows (usually xterm) to test snippets.
Then I start coding. If I hit something I do not know, first
I go to my notes, then I hit the web, lastly I ask others.
You will note that this question came from my research off
of two different howto's on the web.
>
> Reading your posts at the moment is like watching a butterfly in a
> garden, while it flits hither and there, you are randomly fixating on
> subjects irrelevant to either your problem/project, or to a good Perl
> education.
>
You know the are irrelevant how? You only know a tiny bit
of my background in programming. You are guessing.
I learn differently than others. What may work for you,
may be dangerous to me (it hurts when I fall asleep and my
head hits the table).
> Justin.
>
Pin Ball, not butterfly. I have a definite goal(s) in mind.
You are just not privy to it, so it seems random to you.
Anyway, I do sincerely appreciate all you and others help.
I will get there!
Many thanks,
-T
I would really like to know how your are getting away without
using EXPORT in your modules.