> When I run this script, it gives me some weird errors, and what's even weirder is that it says the errors are on lines 147 & 148, but the script itself is only 105 lines. Below is the most important parts of the script, but I'm also attaching the whole thing.
<snip>
> And the error:
> Argument "bitmaps/new.bmp" isn't numeric in addition (+) at C:/Matt/perl/site/lib/Wx.pm line 147.
> Use of uninitialized value in subroutine entry at C:/Matt/perl/site/lib/Wx.pm line 148.
>
> * It does that error for each of the tools on the toolbar.
Use
$toolbar->AddToolShort($ID_TB_NEW, Bitmap("new"), "New file", "Create
a new configuration
file");
as a temporary workaround.
Regards
Mattia
|