On Sun, Aug 19, 2012 at 11:42 AM, Joel Berger <[email protected]> wrote: > On Sun, Aug 19, 2012 at 10:07 AM, Chris Marshall <[email protected]> > wrote: >> Any shorter and we'll have a full NiceSlice replacement. :-) >> >> It might make sense to handle the case where >> $pdl is not a PDL. > > I'm not sure what you mean "not a PDL". The sub-reference overload > will only apply to PDLs or subclasses. Assuming you meant subclasses, > I have changed the gist (https://gist.github.com/3379468) to handle > that problem.
I forgot that overload is class-based. Sorry. -chm >> In fact, the new Filter::Simple based approach >> should fix the problems with string content and >> comments which seem to be all the problem >> cases reported to date. >> > > Keep it up! Until something finally allows for a source-filter free > slicing mechanism (D::D?), improvements to the current system are > highly prized! Will do. I know exactly what to do, just need the round tuits to finish. ;-) _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
