Subject: | many functions try to modify arguments passed by reference directly |
see also http://cpanratings.perl.org/dist/Qt
perl -Mstrict -MQtCore4 -e 'Qt::String("xx")'
Modification of a read-only value attempted at /opt/perl/lib/vendor_perl/5.12.3/x86_64-
linux/QtCore4.pm line 1800.
But
perl -Mstrict -MQtCore4 -e 'Qt::String(my $x="xx")'
succeeds.