On 6/20/2010 1:45 AM, P Kishor wrote: > On Sat, Jun 19, 2010 at 10:16 PM, Chris Marshall<[email protected]> wrote: >> >> The good news, is you can turn off NiceSlice temporarily, or >> just not use it. See 'help slice' for syntax to use without >> NiceSlice. > > Yes, as I mentioned, 'no PDL::NiceSlice' before the line of code in > question helped me on my way. Fortunately, my program was only a few > hundred lines of a single file, else I could have been in bigger > trouble.
Yes, that is why folks working with PDL sometimes opt out on NiceSlice to avoid any possible conflict with valid perl syntax. >> I would also recommend submitting a bug report to sf.net. It >> is possible that the source filter can be improved not to give >> a false positive for your example. > > Will do so. Many thanks. One thing that would be nice would be a report mode for NiceSlice where all the source edit locations and contents are output. That would allow one to check the list against possible glitches in the preprocessing. Hmm, speaking of Padre integration, maybe the syntax highlighting could have a "mark niceslices" mode. Happy slicing, Chris _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
