Comments on: The difference between use and require in Perl https://grey-panther.net/2008/05/the-difference-between-use-and-require-in-perl.html Just another WordPress site Sun, 24 Oct 2010 06:34:16 +0000 hourly 1 https://wordpress.org/?v=6.9 By: Cd-MaN https://grey-panther.net/2008/05/the-difference-between-use-and-require-in-perl.html#comment-95 Sun, 24 Oct 2010 06:34:16 +0000 https://grey-panther.net/?p=742#comment-95 @Anonymous: yes, you are correct. I updated the original post. Thank you.

]]>
By: Anonymous https://grey-panther.net/2008/05/the-difference-between-use-and-require-in-perl.html#comment-100 Sun, 24 Oct 2010 06:25:59 +0000 https://grey-panther.net/?p=742#comment-100 shouldn't
use Foo;
# is equivalent to
require Foo;
Foo->import();
be

use Foo;
# is equivalent to
BEGIN{
require Foo;
Foo->import();
}

]]>