package myModule; sub new { my $this = {}; bless $this; return 1; } sub start_table { my $color = shift; my $width = shift; my $height = shift; print "
\n";
}
1;
####
#!/usr/bin/perl -w
use strict;
use myModule;
my $sm = myModule->new;
$sm->start_table('#000000',250);
|