[Kde-perl] Write access to inherited attributes - was: Method
returning non-scalar
Ole Christensen
Ole.Christensen at web.de
Tue Nov 23 17:20:54 CET 2004
Germain,
please find attached a test case - not really minimal but a test case -
81 lines. This is what happens:
Can't modify non-lvalue subroutine call at qt_attr.pl line 45.
I have marked line 45 in the source.
I will try your patch for the list return issue asap. Maybe tonight.
Thanks and cheers, Ole.
Germain Garand wrote:
> Le Mardi 23 Novembre 2004 07:41, Ole Christensen a écrit :
>
>>And another but final remark: It seems PerlQt attributes are writable
>>from the package itself but not from inheritors. Read access works fine
>>if preceeding the attribute with an "&". So they are a kind of between
>>private and protected (borrowed from C++). Haven't tried pulic read
>>access. That's another item for a FAQ I guess.
>>
>>Everthing above true and maybe only true for PerlQt 3.008.
>
>
> mmh, I'll investigate that... have you, by chance, a minimal testcase at hand?
>
> Greetings,
> Germain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt_attr.pl
Type: text/x-perl
Size: 1203 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-perl/attachments/20041123/5081bbfb/qt_attr.bin
More information about the Kde-perl
mailing list