On Thu, 27 Jun 2002, Stas Bekman wrote:

> with the test patch below it fails when the arg is '', so the other 
> patch is fixing modperl_perl_module_loaded() to check the length of its 
> argument.
> 
> Or is this a bug in gv_stashpv? (tested only with 5.8.0-RC2)

looks like gv_stashpv defaults to PL_defstash on purpose.
 
> +    return (strlen(name) && gv_stashpv(name, FALSE)) ? 1 : 0;

+1, but make that:
  +    return (*name && gv_stashpv(name, FALSE)) ? 1 : 0;


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to