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

Re: A question of style

by turnstep (Parson)
on Aug 23, 2000 at 14:55 UTC ( #29179=note: print w/ replies, xml ) Need Help??


in reply to A question of style

Excellent post by tye

I almost always use an ampersand because I think of it as another "type" delmiter - scalars start with a dollar sign, arrays with an "at", hashes with a percent, typeglob with a star, and subroutine with an ampersand. Why file handles did not get their own little symbol is still a mystery. :)

I also believe that it is required when you undef a subroutine, FWIW


Comment on Re: A question of style
Why I use ampersands
by myocom (Deacon) on Aug 24, 2000 at 02:32 UTC
    I think that's the subconscious reason I use ampersands as well...it parallels nicely in my mind to the other type-punctuation.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2015-07-04 16:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls