Hi Shawn I tried perl -c also with the same results. It takes 4-5 minutes to know that I missed a " some where. It is very painful. Is there no other way?
Thanks, Regards, Satya -----Original Message----- From: Shawn H Corey [mailto:shawnhco...@gmail.com] Sent: 23 January 2012 16:38 To: beginners@perl.org Subject: Re: How to compile just the current perl module, ignoring all the other included modules On 12-01-23 11:20 AM, Nemana, Satya wrote: > Hi Gurus > > I have to compile a perl module which includes a lot of other modules. > The other modules will not change during compilations of my current module. > Only my current module keeps on changing. > The compiler however starts compiling from all the modules included in the > current module with the use directive and the dependent modules. > Is there any way to work around this intelligence of the perl compiler to > ignore the compilation on the other modules and just compile the current > program/module? > I want these errors if any to be only caught in the run time. > (although it will not happen because ultimately I will compile the > complete modules to run the program) > > Thanks, > > Regards, > Satya > Perl has to compile and run the modules yours depends on to have the correct context. Without them, it cannot determine if your module is correct. Try: perl -c MyModule.pm -- Just my 0.00000002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. Strength is not a measure of the body. It's a measure of the heart. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/