Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: All uppercase subs

by blazar (Canon)
on Jul 18, 2005 at 14:23 UTC ( #475774=note: print w/ replies, xml ) Need Help??


in reply to Re^3: All uppercase subs
in thread All uppercase subs

I think that the specially named subs deserve having beautiful names. OTOH I don't consider __DATA__ and __PACKAGE__ to be "ugly names" at all. They're nice as special tokens, and I must say I regret they (being supposed) not to be there in Perl6.

As Larry himself wrote once, the shebang line

#!/usr/bin/perl
is much like a "hello!" and the
__END__
line is much like a "goodbye". Now IIRC it is supposed to be taken away in favour of a pod (or whatever it will eventaully be called) directive. But I mean: maybe it's just me, but I'm really keen on that "__END__".


Comment on Re^4: All uppercase subs
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-09-20 05:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (153 votes), past polls