David Dyck wrote:
> using Inline-0.44 and perl, v5.9.3 DEVEL24148
> Built under linux Compiled at Sep 26 2005 14:21:20
>
> Inline's make test was croaking in
> Inline::check_config_file
>
> My tests seem to indicate that compiling the line that checks for
> defined %main::Inline::Config::
> caused the symbol to exist. (see how the test case file q.t
> causes %main::Inline::Config:: to be added to the symbol
> table after the eval.
> (This also shows that the "exists" check
> doesn't modify the symbol table, and
> it does catch when the symbol is in the table)
Here's a shortest example of what has changed :
$ perl5.8.7 -wle 'print defined %foo::'
$ bleadperl -wle 'print defined %foo::'
1
I don't really know why.
Anyway, isn't the use of defined with hashes and arrays discouraged ?
--
To fall in love is to create a religion that has a fallible god.
-- Borges