Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Filter::Simple bug with here documents

by Ovid (Cardinal)
on Dec 02, 2005 at 04:51 UTC ( #513511=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package NoFilter;
    
    use Filter::Simple;
    ...
    FILTER_ONLY code => sub {};
    
    1;
    
  2. or download this
    #!/usr/bin/perl
    
    use NoFilter;
    ...
    
    my $buf2 = <<HERE;
    HERE
    
  3. or download this
    sub gen_std_filter_for {
        my ($type, $transform) = @_;
        return sub {
            [$_];   # XXX this is the "voodoo" line
            my $instr;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://513511]
Approved by bobf
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2014-08-30 01:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls