in reply to Attribute::Handler's behaviors with use vs require

BEGIN { require 'FOO.pm'; FOO->import(); } FOO::foo();

Output:

Executing subroutine Executing Foo You Pass

as required.

HTH,

Athanasius <°(((><contra mundum

Replies are listed 'Best First'.
Re^2: Attribute::Handler's behaviors with use vs require
by rpg (Novice) on Jul 10, 2012 at 17:09 UTC
    Yes, thanks for the reply. But for me this require statement is in an eval statement.