There's more than one way to do things | |
PerlMonks |
Re: Re: wxPerl image handling (short & sweet).by PodMaster (Abbot) |
on Sep 03, 2003 at 20:38 UTC ( [id://288735]=note: print w/replies, xml ) | Need Help?? |
Yes, you installed a modern version of Wx {grin}
If you examine http://search.cpan.org/author/MBARBON/Wx-0.08/ released about the same time as this tutorial, you can see a Wx::Image listed (also in http://search.cpan.org/src/MBARBON/Wx-0.08/lib/Wx/). If you examine http://search.cpan.org/src/MBARBON/Wx-0.16/lib/Wx/ you can see there is no Image.pm, but http://search.cpan.org/src/MBARBON/Wx-0.16/XS/Image.xs (like http://search.cpan.org/src/MBARBON/Wx-0.08/XS/Image.xs) still exists. This means that you only need to say "use Wx;" and the Wx::Image package will be loaded.
In Section
Tutorials
|
|