in reply to splitting a source file
If you want to get a bit more advanced, you can go with Modules and there are certainly many advantages to them, but if you are just looking to clear the clutter up a bit and segregate the subs out, there is nothing wrong with using require.#!/bin/perl require "bunch_o_subs.pl"; ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: splitting a source file
by chromatic (Archbishop) on Oct 24, 2007 at 19:58 UTC | |
by KurtSchwind (Chaplain) on Oct 24, 2007 at 20:19 UTC | |
by rje (Deacon) on Oct 24, 2007 at 21:32 UTC | |
by bart (Canon) on Oct 25, 2007 at 09:14 UTC |