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

Re: A question of style - declaring lexicals

by Theo (Priest)
on Jun 03, 2004 at 14:34 UTC ( [id://360170]=note: print w/replies, xml ) Need Help??


in reply to A question of style - declaring lexicals

One could (sort of) combine the styles by making a list of all the vars as comments at the top, but acutally declare them when used.

-Theo-
(so many nodes and so little time ... )

  • Comment on Re: A question of style - declaring lexicals

Replies are listed 'Best First'.
Re^2: A question of style - declaring lexicals
by EdwardG (Vicar) on Jun 03, 2004 at 14:55 UTC

    By doing this you would introduce an undesirable maintenance overhead, similar to the problem with flower box comments.

     

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2025-06-21 02:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.