On Saturday, July 13, 2002, at 10:37 , Connie Chan wrote:
[..]
> I don't know how to define, I just put them( *.pl files)
> all under a folder "myLib" inside /lib/. And those .pl
> files are just subs insides, even not "packaged"... so...
best then to start calling them 'libraries' as in
library_does_this_stuff.pl
library_does_that_stuff.pl
rather than 'scripts'.... since at least 'emotionally'
most folks like 'scripts' to 'do something'.
A library on the other hand does not do anything itself.
Rather it provides a 'stack of functions' - that some
other 'piece of code' will do something with....
> on the point of my view on word, they are just scripts,
> is that true ? but I can sure they are not modules. =)
Not yet...
but clearly it is time to do the
perldoc h2xs
and start asking yourself 'why not modules?'
or to quote Anders:
> On Wednesday, July 3, 2002, at 01:15 , Anders Holm wrote:
> [..]
>
> You are looking at using modules, and creating your own modules here. Look
> for messages from drieux, he has some ideas on how this should be done...
> ;)
>
> http://www.wetware.com/drieux/CS/lang/Perl/PM/PMbasics.html
>
> is his page with info on this..
I will of course defer to his opinion....
[..]
since peter so elegantly tiled the
use lib
side.....
I'll just frown here...... he always gets the good bits....
ciao
drieux
---
what is this? my brother is pytor, he also got all
the good bits, all I got was math, physics, kant,
kafka, wittgenstein, low intensity warfare theory
and cover operations.....
Is this like a Kharma thing?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]