Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Display gif in CGI page

by Sinistral (Monsignor)
on Dec 08, 2011 at 15:22 UTC ( [id://942463]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    print $q->start_html();
    print $q->img({src => 'image.gif'});
    print $q->end_html();
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    local $\ = undef;
    print <$F>;
    close($F);
    
  3. or download this
    #!/usr/bin/perl
    
    ...
    print $q->start_html();
    print $q->img({src => 'img.pl'});
    print $q->end_html();
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-24 07:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found