- or download this
package MyModule2; #line 1
...
return ($total);
}
1;
- or download this
#!/usr/bin/perl -w
...
my $amount = 12;
print add_it($amount),"\n";
- or download this
sub add_it {
my $amount = shift;
...
return ($total);
}
1;
- or download this
use MyModule;
my $amount = 12;
print add_it($amount),"\n";