in reply to Re^3: showing an image downloaded with LWP::Simple
in thread showing an image downloaded with LWP::Simple
#!/usr/local/bin/perl #Warn browser that HTML is coming print "Content-type: text/html\n\n"; print header; print STDOUT "<html>\n<head>\n"; print STDOUT "<title></title>\n"; print STDOUT "</head>\n"; print STDOUT "<body>\n"; use LWP::Simple; print $content = get("http://www.nhc.noaa.gov/storm_graphics/AT06/refr +esh/AL0606W5+gif/144631W_sm.gif"); print STDOUT "</body>\n"; print STDOUT "</html>\n";
Basically, I just want to display the image when I go to the link.
Edit: g0n - code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: showing an image downloaded with LWP::Simple
by Joost (Canon) on Sep 08, 2006 at 18:52 UTC | |
by Anonymous Monk on Sep 08, 2006 at 19:08 UTC | |
by Melly (Chaplain) on Sep 08, 2006 at 20:35 UTC | |
|
Re^5: showing an image downloaded with LWP::Simple
by RobPayne (Chaplain) on Sep 09, 2006 at 14:33 UTC |