Levente Kovacs wrote:
Ok, I've reached the level, when I want to do perl modules. I've seen
tutorials with the `h2xs' approach, but the problem is that I don't know what
it EXACTLY does.

Exactly? Well, it creates a skeleton. See for instance the "Step-by-step: Making the module" section in "perldoc perlnewmod".

I'd like to write a code shared among several simple scripts, as a NON-OO
module, used in single program packege. I'd be happy with some #include style
in C, but I don't know how to do that really.

I'm not sure what it is that you don't know how to do...

Anyway, start with the FAQ entry

    perldoc -q "create a module"

where you find pointers to the relevant docs. Come back here if you have a more specific question. It would be pointless to repeat large portions of the perldoc here, wouldn't it?

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to