Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: why does location of function matter?

by Anonymous Monk
on Jun 02, 2015 at 23:05 UTC ( [id://1128866]=note: print w/replies, xml ) Need Help??


in reply to Re^3: why does location of function matter?
in thread why does location of function matter?

sundialsvc4:

Gentlemen, your time would be better served trying to constructively answer other people’s questions, and less time bashing other Monks.   If you don’t care for what someone else is saying, there’s a simple solution:   ignore that person.   Completely.   Politely.

I work on a very routine basis with lots of other languages besides Perl.   Maybe you don’t.   But, if you do, then this irregularity of Perl’s syntax, vis á vis other languages that you are (today, more ...) likely to encounter, is very confusing.   You expect a subroutine declaration to require a parameter-list enclosed in parentheses, even if that list is empty.   You expect that the position of the declaration within the source-code also does not matter, except to the extent that it binds it to a particular class or object.   You expect the behavior of the language to be consistently one way or another.   But, none of these things are true of the Perl-5 language.

“And that’s simply the way that it is.”

Just more flush worthy claptrap

Perl is pretty much the only language you write sub foo... and to get that far you'd have to read perlintro/perlsub ... its irrelevant what one is accustomed to, you can't make stuff up, and you can't get started without reading the docs

  • Comment on Re^4: why does location of function matter?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-20 02:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found