Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: To help not to misguide

by TrekNoid (Pilgrim)
on Jan 05, 2006 at 19:57 UTC ( [id://521326]=note: print w/replies, xml ) Need Help??


in reply to To help not to misguide

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://521326]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-19 22:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found