complile a program with 2 files

Discussion in 'Perl Misc' started by Susan, May 4, 2004.

  1. Susan

    Susan Guest

    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
     
    Susan, May 4, 2004
    #1
    1. Advertising

  2. Susan wrote:

    > 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
     
    Mark Clements, May 4, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JustSomeGuy
    Replies:
    15
    Views:
    511
    red floyd
    Jun 20, 2004
  2. wiza
    Replies:
    1
    Views:
    455
    Thomas Matthews
    Jan 9, 2005
  3. iceman

    complile time error.

    iceman, Jan 15, 2008, in forum: C++
    Replies:
    6
    Views:
    327
    James Kanze
    Jan 15, 2008
  4. Long March
    Replies:
    0
    Views:
    749
    Long March
    Apr 24, 2008
  5. Replies:
    5
    Views:
    497
    Wolf Behrenhoff
    May 15, 2009
Loading...

Share This Page