Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^5: I'm looking forward to 2011 the way I once looked forward to ..

by Tux (Monsignor)
on Jan 04, 2011 at 16:53 UTC ( #880410=note: print w/ replies, xml ) Need Help??


in reply to Re^4: I'm looking forward to 2011 the way I once looked forward to ..
in thread I'm looking forward to 2011 the way I once looked forward to ..

At the risk of getting negative points here, just because people do not agree with me, I'll still answer your question ...

In my logigic, whichh I explained in detail in the link passed in the previous post, the only correct way to call a function is:

my $result = function ($arg1, $arg2); ^

A function name must be separated by the opening paren by whitespace. The parens are there to group the arguments, not to signal that function is a function.

As perl6 has decided that "It is a function if it looks like a function" now excludes the way I see as the only correct way, perl6 has definitely lost a user: me.

Some perl6 programmers tell me that I can create my own grammar(s), but that is completely besides the point. If I cannot write code the (only) way I think is logical (and beautiful), then I've lost one very very important factor in coding: FUN!


Enjoy, Have FUN! H.Merijn


Comment on Re^5: I'm looking forward to 2011 the way I once looked forward to ..
Select or Download Code
Re^6: I'm looking forward to 2011 the way I once looked forward to ..
by BrowserUk (Pope) on Jan 04, 2011 at 17:12 UTC

    May I ask, do you use @array[ 1, 2, 3 ] or @array [1,2,3]?


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

      Neither, I use

      @array[1, 2, 3]

      or

      @array[1,2,3]

      No strong preference between these two. Probably the first on complex index expressions and the second on short lists.


      Enjoy, Have FUN! H.Merijn

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (12)
As of 2014-07-11 13:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (224 votes), past polls