Yep, Data::Dumper for example will complain (under -w) about printing to an unopened file handle if you say
use Data::Dumper; package Foobar; my $quux = {} print Dumper $quux;
The idea between the fourth approach is to separate those things must be imported into the package itself, versus those that can be left apart.
In reply to Re: Re: Location of 'use' statements
by djantzen
in thread Location of 'use' statements
by djantzen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |