CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Can't upgrade LVALUE: Edit Log



gawron25
New User

Sep 11, 2012, 5:08 PM


Views: 838
Can't upgrade LVALUE

 wanted bytearray
Can't upgrade LVALUE (10) to 7 at H:/Perl/site/lib/Tk/Image.pm line 21.


What mean that error?


//////////
LoadImages();

my $bg = $MainWindow->Photo( -data => $ImageData{'idbg'}, -format=>'png' );
my $close = $MainWindow->Photo( -data => $ImageData{'idc'}, -format=>'png' );
my $close_hover = $MainWindow->Photo( -data => $ImageData{'idch'}, -format=>'png' );
my $start_off = $MainWindow->Photo( -data => $ImageData{'idso'}, -format=>'png' );
my $start = $MainWindow->Photo( -data => $ImageData{'ids'}, -format=>'png' );
my $start_hover = $MainWindow->Photo( -data => $ImageData{'idsh'}, -format=>'png' );
////////////////


when i remove {"txt"} the app can be compiled but non of images are showed.


(This post was edited by gawron25 on Sep 11, 2012, 5:11 PM)


Edit Log:
Post edited by gawron25 (New User) on Sep 11, 2012, 5:11 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives