Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: What Are The Rules For Subs And Modules When Fed Wrong Input

by fsn (Friar)
on Jul 21, 2002 at 11:06 UTC ( [id://183808]=note: print w/replies, xml ) Need Help??


in reply to What Are The Rules For Subs And Modules When Fed Wrong Input

I have always felt that the compiler/interpreter should give as much information as possible when it finds a syntax error. Nothing is more irritating than just getting a "Syntax error somewhere in your script". Therefore I think 4a and 4e are bad, because they are equvialent to a rude RTFM. A PerlMonk might, and in some cases should, say RTFM when a too simple question is asked, because answering the same thing over and over again is tiring. A compiler/interpreter/syntax checker never get's tired. In my opinion, 4c and 4b are excellent.
  • Comment on Re: What Are The Rules For Subs And Modules When Fed Wrong Input

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-24 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found