develooper Front page | perl.perl5.porters | Postings from April 2008

Re: [PATCH] Double magic/warnings with tie $x, $m

Thread Previous
Rafael Garcia-Suarez
April 30, 2008 04:51
Re: [PATCH] Double magic/warnings with tie $x, $m
Message ID:
2008/4/30 Vincent Pit <>:
> Hi.
>  When $m is undef, tie $x, $m generates two "undefined" warnings because $m
>  is also used for building the error message (just like it was for \&$x -
>  see Also, sv_isobject() and gv_stashsv() both call
>  GET magic, so I changed the second for a gv_stashpvn().
>  Tested ok against 33767.
>  With this last patch, t/lib/warnings/9uninit no longer contains spurious
>  double warnings.

Woot. Thanks, applied as #33770.

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About