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

Re^2: -> Is Optional ?

by kennethk (Abbot)
on Dec 28, 2012 at 16:50 UTC ( #1010719=note: print w/replies, xml ) Need Help??

in reply to Re: -> Is Optional ?
in thread -> Is Optional ?

Your advice is a little off-point; while the posted code does contain a syntax error, this is a compilation error. Neither the addition of strict nor warnings would give any additional insight into the nature of the issue. Once you fix the curly issue, the code passes both tests just fine. I love these pragma dearly, but will never cite them in a response unless they actually help in the particular situation. Expecting people to include them above every code snippet, or expecting every code snippet to be a full script, is unnecessary orthodoxy.

You may also wish to peruse ree's profile to gather information about his familiarity with the language.

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

Replies are listed 'Best First'.
Re^3: -> Is Optional ?
by space_monk (Chaplain) on Dec 28, 2012 at 18:56 UTC
    Yes, I do apologise; I was aiming for amusement value more than anything else in my comment, but on reading it, it was probably a bit too aggressive.
    A Monk aims to give answers to those who have none, and to learn from those who know more.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1010719]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2018-04-26 22:13 GMT
Find Nodes?
    Voting Booth?