Thank you very much Chris for the job, now it works perfectly with perlapp. The only file that was in trouble was window.pm because of the POD section (just like you said before;)). I've just erase it, ran the script and replaced the section in the new created file. I'm sure that would be nice to have a version without niceslice for next releases...just to not be in a trouble again... Thanks a lot,
Cheers, Sacha Le 26/09/2010 21:55, Chris Marshall a écrit : > On 9/26/2010 3:43 PM, Christian Soeller wrote: >> Well done Chris. >> It would be nice to make this some kind of Makefile target, > > so that you can do 'make distpp' or similar and get a dist > > with perldlpp applied against (.pm?, others) files that match > > a 'grep 'use PDL::NiceSlice'. > > Yes, that was the hope. > > One thing I noticed when testing this script was that > the current NiceSlice filter doesn't ignore POD > sections so that the docs for various NiceSlice > usages ended up with nslice() in them.... > > --Chris > >> On 27/09/2010, at 2:57 AM, Chris Marshall wrote: >> >>> On 9/25/2010 5:26 PM, Chris Marshall wrote: >>>> >>>> http://sourceforge.net/tracker/index.php?func=detail&aid=3074830&group_id=612&atid=350612 >>>> >>>> and I've implemented a simple off-line NiceSlice pre-processor >>>> that you can run manually on the problem files (with PDL::NiceSlice >>>> constructs in them) to remove the requirement for source filtering. >>>> >>>> That should allow you to fix the *.pm files so that perlapp >>>> can work (I hope). See the above ticket for the list of >>>> files that I found in the PDL tree that need to be filtered. >>> The perldlpp.pl script takes the name of the >>> file to be filtered as a command line arg and >>> it outputs the filtered result to STDOUT, e.g. >>> >>> perldlpp.pl file-w-niceslice.pm> clean-file.pm >>> >>> or (for win32) >>> >>> perl perldlpp.pl file-w-niceslice.pm> clean-file.pm >>> >>> Cheers, >>> Chris > _______________________________________________ > Perldl mailing list > [email protected] > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
