If my Perl contains ${DBI::errstr} I get warnings like this:

Ambiguous use of ${DBI::errstr} resolved to $DBI::errstr at (eval 20) line 284.

If my Perl contains $DBI::errstr (without the braces) I don't get these
warnings.  Is there an explanation for this?

When I use things like ${File::Find::name} I do not get these kinds of
warnings; I would like to understand the difference. 

It's possible the difference is the environment the process is running in - my
DBI code gets wrapped with a bunch of vendor code before execution, but my
Find code does not.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to