- or download this
#!/usr/bin/perl
use strict;
...
use Bar; # Needless
my $foo = Foo->new();
- or download this
#!/usr/bin/perl
use strict;
...
use Foo;
my $bar = Bar->new(); # Works because Bar is loaded by Foo
- or download this
package Foo;
...
sub new {
...
}