Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 chanting in the Monastery: (7)
As of 2014-12-22 03:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (110 votes), past polls