> why I always get the error messages like: > "bad screen distance "fill" at D:/Perl/site/lib/Tk.pm > line 228." > when I use > "$id = $canvas->create ('line', > 10, 10, 100, 100, > fill => 'red' > ); "? > Isn't it right?
No, not according to "Perl in a Nutshell". You want: $id = $canvas->createRectangle( 10, 10, 100, 100, fill => 'red' ); I guess lines aren't easy to fill, eh? Jonathan Paton __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]