|P is for Practical|
Replying to All, an option for SOPWby Petras (Friar)
|on Aug 07, 2003 at 01:14 UTC||Need Help??|
So I was thinking the other day, being a newbie I do a lot more SOPWing than anything else around the monastary (yes, I do do the tutorials!). Sometimes I ask a question and get one answer that shines above the rest, or solves the problem, or clears up what everyone else was trying to say (by speaking adequate newbie!). Look at this ficticious example:
Petras has asked his fellow monks for Perl wisdom:
I have a file and want to know how many times the letter 'd' appears in it. What should I do?
Vroom writes: I would make a visual basic program that counts it for me!
Merlyn writes: You could dump the whole file into a Java String object, use substring() to move all the instances of 'd' into a new String, then check the length.
chromatic writes: I do all my files in ISO 9002 Chinese characters, so don't worry about those silly 'd' characters!
castorbaway writes: Use a regex, but becareful to excape the letter 'd' in it, since it is used to count digits in a string.
While all of these suggestions are somewhat wise, I'd like to be able to do something like:
Reply All: Thanks for the input. The answer that helped me the most was ________
I could do this by sending out several replies, but that's not nice to the server, and really it's rather redundant.
What does anyone else think?
Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats.