- or download this
package Foo::Bar;
...
Documentation here
=cut
- or download this
package Foo::Bar::MSWin32;
...
# ...
1;
- or download this
package Foo::Bar::unixoid;
...
# ...
1;
- or download this
package Foo::Bar::linux;
use parent 'Foo::Bar::unixoid';
1;
- or download this
package Foo::Bar::solaris;
use parent 'Foo::Bar::unixoid';
1;
- or download this
package Foo::Bar::cygwin;
use parent 'Foo::Bar::MSWin32'; # assuming you can use OLE with cygwin
+ - never tried it
1;
- or download this
package Foo::Bar::base;
...
}
1;
- or download this
use Foo::Bar;
my $f=Foo::Bar->new();
$f->frob('bla','bla');
$f->some_generic_function();