It's just the style that I adapted to. I have no paticular reason to use it other than its what keeps me sane :) I have tried to put subs at the top, in the middle, spread around, but I like having all my code in the order above. Makes it easier for me to work with.#!/usr/bin/perl use (pragmas); use Modules; my $var; declare any global variables here main code goes here Then my subs are at the bottem. usually in order of importance
In reply to Re: where do you put your subs
by BeernuT
in thread where do you put your subs
by greenFox
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |