Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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

Replies are listed 'Best First'.
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 parallels nicely in my mind to the other type-punctuation.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2016-10-25 03:35 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (313 votes). Check out past polls.