http://qs321.pair.com?node_id=22820


in reply to Re: use vars (expound a bit?)
in thread use vars

You would fully qualify a 'package' variable when you're in another package. For example, if you use the DBI module, you can access error information for the last call in $DBI::errstr. Presumably, your code is in the main:: package, or another self-defined package. Saying $DBI:: (variable name) tells Perl where to find (variable name), since it's not in the current package.