Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2015-07-06 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (74 votes), past polls