X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlfilter.pod;h=51cd8ced75331761f668c145e6aa612a3c9a7646;hb=a5c75c1d181494e06a58988f267a8b3d081df483;hp=4221371a05dc2e40e157cbea475704260a9cdf53;hpb=83df6a1d65c0fba9c27c7fb715fa674b03462cf0;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlfilter.pod b/pod/perlfilter.pod index 4221371..51cd8ce 100644 --- a/pod/perlfilter.pod +++ b/pod/perlfilter.pod @@ -527,7 +527,7 @@ blocks get included. Once you can identify individual blocks, try allowing them to be nested. That isn't difficult either. -Here is a interesting idea that doesn't involve the Debug filter. +Here is an interesting idea that doesn't involve the Debug filter. Currently Perl subroutines have fairly limited support for formal parameter lists. You can specify the number of parameters and their type, but you still have to manually take them out of the C<@_> array @@ -551,6 +551,20 @@ useful features from the C preprocessor and any other macro processors you know. The tricky bit will be choosing how much knowledge of Perl's syntax you want your filter to have. +=head1 THINGS TO LOOK OUT FOR + +=over 5 + +=item Some Filters Clobber the C Handle + +Some source filters use the C handle to read the calling program. +When using these source filters you cannot rely on this handle, nor expect +any particular kind of behavior when operating on it. Filters based on +Filter::Util::Call (and therefore Filter::Simple) do not alter the C +filehandle. + +=back + =head1 REQUIREMENTS The Source Filters distribution is available on CPAN, in