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

Write a Filehandle w/Dancer2

by hardburn (Abbot)
on Aug 13, 2014 at 23:13 UTC ( [id://1097361]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        return send_file( $in_fh,
            streaming    => 1,
    ...
                }
            },
        );
    
  2. or download this
    Device::WebIO::Dancer:5371] error @2014-08-13 18:01:28> Route exceptio
    +n: isa check for "path_info" failed: GLOB(0x222a5c8) is not a string!
    + at (eval 197) line 27.
    
  3. or download this
        return send_file( \'foo',
            streaming    => 1,
    ...
                }
            },
        );
    
  4. or download this
        return send_file( '/dev/zero',
            streaming    => 1,
    ...
                }
            },
        );
    
  5. or download this
    return send_file( '$in_fh,
            streaming    => 1,
            content_type => $mime_type,
        );
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-28 13:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found