- or download this
#!/usr/bin/perl;
...
sub bartender_says {
... many more lines of code
}
- or download this
#!/usr/bin/perl;
...
bartender_says("What'll ya have?");
man_says("Sasparilla. In a dirty glass");
exit;
- or download this
my $foo;
... zillions of lines of subs
... followed by your main logic
- or download this
... zillions of lines of subs
...
use vars qw($foo);
... followed by your main logic
- or download this
sub foo {
...
...
}
more program logic