Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Perl Tk coding guidelines?

by Jouke (Curate)
on Aug 09, 2001 at 17:24 UTC ( #103381=note: print w/replies, xml ) Need Help??


in reply to Perl Tk coding guidelines?

It depends a lot on the kind of coding guidelines you already have. I guess most of them are still valid when you code Perl/Tk, because it still *is* Perl.

However, to improve readability of your Tk script I think it's good practice to keep your callbacks as compact as you possibly can, so either use a reference to a seperate subroutine, or use no more than 2 or three lines for it.

Maybe if you gave a few of the guidelines you already have, we would be able to extend them for Tk.

Jouke Visser, Perl 'Adept'
Using Perl to help the disabled: pVoice and pStory

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2019-08-20 10:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?