Help for this page

Select Code to Download


  1. or download this
    use Foo::Bar qw(foo bar baz);
    
  2. or download this
    BEGIN {
        require 'Foo/Bar.pm';
        Foo::Bar->import(qw(foo bar baz));
    }
    
  3. or download this
    BEGIN {
        my ($module, @imports) = qw(Foo::Bar foo bar baz);
    ...
        require $file;
        $module->import(@imports);
    }