Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Perl Tk coding guidelines?by Jouke (Curate) |
on Aug 09, 2001 at 17:24 UTC ( [id://103381]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|