There's more than one way to do things | |
PerlMonks |
Re: Perl2SMS (for Vodafone Australia)by graff (Chancellor) |
on May 26, 2002 at 04:26 UTC ( [id://169334]=note: print w/replies, xml ) | Need Help?? |
Update: The code is very different now
compared to when I first wrote this reply, so I'll just keep
the parts that I think might still be relevant (and ++ the
current version!)</update>
I agree that this provides a nice case study for
but your newer version has nice features that many folks may appreciate more than this simple-minded approach There may be better idioms than what I have suggested (which was equivalent to your original version), and your revised code seems to be one such idiom. For example, you could now look at generalizing the process by reading the stateConfig data from a file -- it'll be fun figuring out how to get that to work with other args from the command line to fill in slots within the stateConfig data... Thanks for a very instructive update!
In Section
Code Catacombs
|
|