"be consistent" | |
PerlMonks |
Re: redrafted codeby lyklev (Pilgrim) |
on Feb 02, 2011 at 08:21 UTC ( [id://885680]=note: print w/replies, xml ) | Need Help?? |
Move the subroutine definition to somewhere else, for example to the top of your code, before the main part of the code starts. Then call the subroutine at the point in the code where you have now defined it. Also note that when you split a line:
In Section
Seekers of Perl Wisdom
|
|