hey guys i am trying to fetch an IMAGE using URL in Perl/tk but it cant read it heres my line of code.
use Tk; require Tk::Photo; require Tk::JPEG; my $mw=new MainWindow; my $image="http://example.com/background.jpg"; my $shot=$mw->Photo(-file=>"$image",-format=>'jpeg'); $mw->Label(-image=>$shot)->pack; MainLoop;
FAILED! but if you remove the link, cool! Not to mention i am new here!
In reply to Trying to fetch image via URL Perl/Tk by Muskovitz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |