![]() |
|
There's more than one way to do things | |
PerlMonks |
Re: using a subroutineby bradcathey (Prior) |
on Aug 09, 2004 at 00:31 UTC ( #381134=note: print w/replies, xml ) | Need Help?? |
Nice work. And yes, use strict is a real life-saver. I guess your next lesson will be passing arrays to and from subs—and the mandatory introduction to references, something that took me a while to get my head around. Checkout Randal L Schwartz's Learning Perl Objects, References & Modules or the Perl Cookbook. Good luck. —Brad "Don't ever take a fence down until you know the reason it was put up. " G. K. Chesterton
In Section
Seekers of Perl Wisdom
|
|