complile a program with 2 files

S

Susan

I would like to put my hash table and array into one file(h.plx) and
my main program in anohter one(h.pl). Now I don't know how to compile
to make it work ... if I do perl h.plx h.pl ... it still doesn't work.
Does anyone know how to compile? Please let me know, Thank you!
Susan
 
M

Mark Clements

Susan said:
I would like to put my hash table and array into one file(h.plx) and
my main program in anohter one(h.pl). Now I don't know how to compile
to make it work ... if I do perl h.plx h.pl ... it still doesn't work.
Does anyone know how to compile? Please let me know, Thank you!
perldoc -f require
should get you started.

Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top