Beefy Boxes and Bandwidth Generously Provided by pair Networks
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
in thread To help not to misguide by c_chipster

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-24 04:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found