Yu Wang wrote: > Hi, > > I have written a program using Gtk2 in Perl. It's the first time I > write program in Perl, so I need some help in writting the Makefile.pl > > I have 1 file for main program, and 5 files for modules. Besides > that, I also have document files and some data files to be accessed > by the code. > > I have read a tutorial about Makefile.pl, but it only teaches me how > to install modules in to perl module directories. It seems that I > couldn't find a tutorial on how to write Makefile.pl to perl > applications.
I'm not sure about tutorials, but the documentation for ExtUtils::MakeMaker should be studied carefully. You can install scripts as well as modules; for scripts, set the EXE_FILES entry in your Makefile.PL. Here's an example of a program that uses this: http://svn.perl.org/viewcvs/qpsmtpd/trunk/Makefile.PL?rev=470 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>