go ahead... be a heretic | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Sorry for jumping in late, but I've been away for a while... just saw this today.
Doesn't your request assume two things? 1.) First, that there's some universal definition of 'correct' that we all can agree on? There are plenty of 'correct' answers that don't work in some situations, and there are occasionally 'wrong' answers that work fine... Some people believe that 'correct' means it has to work under 'use strict', others don't... some believe that CPAN is your best friend, and use it a lot, some like to roll their own... 'Correct' is in the eyes of the philosopher... TIMTOWTDI is in the eyes of the Perl developer :) 2.) Aren't you also assuming that we come here only for answers, and not necessarily to learn? I posted an answer once, using $#ARGV to check for number of arguments... It's just the way I learned to do it... It *worked*, and wasn't incorrect, but merlyn saw it and quickly pointed out that @ARGV was a much better way of doing what I suggested. So guess what? Not only did the OP get a better answer, *I* learned something too. So yeah, I posted an answer that would be considered 'wrong' by most standards... but the OP, myself, and anyone else who happens to view that thread later get to learn more than just the answer to the original question. Trek In reply to Re: To help not to misguide
by TrekNoid
|
|