> > You are making it harder for yourself than you have to. Don't ZIP > > anything ... > > > > pp -o main.exe main.pl > > > > should be enough. And if the pp doesn't notice your main.pl uses > > subroutineX.pl then try > > > > pp -o main.exe main.pl subroutine*.pl > > > > Jenda > > Hi Jenda, > > I learnt that zipping wont help me and i tried the way you specified, > like: > > pp -o main.exe main.pl subroutine*.pl > > But even that did not help me. It creates a EXE file, but when i try > using it all alone without the other supported files, it says that > "can't open subroutine.pl" > > This is the problem i encounter. > > Thanks and Regards, > Dharshana
subroutine.pl? Anyway .. if you run the main.pl it works, right? If you run the created EXE in the same folder what does it do? If you run it from a different folder? If you run it on a different machine? What happens if you add BEGIN { print "Starting the execution of main.pl\n" } on the very top of main.pl? Do you get first this message and then the one about subroutine.pl? And if that subroutine.pl even in the same folder as the main.pl? Maybe you need to give pp the whole path to this subroutine.pl Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>