[CWB] [PATCH] fixing some uninitialized variables warnings
Alberto Simões
ambs at di.uminho.pt
Tue Nov 9 13:02:21 CET 2010
On 08/11/2010 23:04, Stefan Evert wrote:
>
>> Sometimes the error function issue some warnings on uninitialized values being concatenated in a string.
>>
>> This patch fixes them. Let me know when/if it gets applied to the SVN tree.
>
> Not applied. The actual bug was something else (a line of code left over from previous versions of CQP.pm) that I have now fixed in the SVN.
Better yet \o/
> PS: Can you imagine how disconcerting it is to realise that somehow, magically, @_ turns from a CQP error message into a list of undefs from one line of Perl code to the next ... even if these lines don't touch @_ at all?_______________________________________________
Perl magic variables can be quite annoying. :)
Cheers
--
Alberto Simões
More information about the CWB
mailing list