Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: serving an image with dancer and GD

by Corion (Pope)
on Jul 31, 2013 at 18:20 UTC ( #1047302=note: print w/ replies, xml ) Need Help??


in reply to serving an image with dancer and GD

send_file wants to send a file, which must exist on disk, with a name, on the server. You maybe just want to return $im->png as the result of the request?

Also, what is DISPLAY supposed to be/do? I recommend using lexical filehandles over using global filehandles.


Comment on Re: serving an image with dancer and GD
Select or Download Code
Re^2: serving an image with dancer and GD
by Anonymous Monk on Aug 01, 2013 at 08:06 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2015-07-05 07:51 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 (60 votes), past polls