in reply to Re^6: Dynamic tab creation/destuction with Tk::Notebook
in thread Dynamic tab creation/destuction with Tk::Notebook

Using strictures should force you to think about an appropriate place to declare variables and their lifetime. Knowing that globals are bad should force you to consider how variables are managed and should make it clear when there is a conflict in the way that variables are used. In other words, you would have solved the problem yourself or at least asked a different question if you had listened to our exhortations to use strictures and avoid globals.

Although you may not fully understand why we recommend that you use strictures and avoid globals, you should realise that we make those recommendations with good reason.

Here endith the lesson (we hope).


Perl is environmentally friendly - it saves trees
  • Comment on Re^7: Dynamic tab creation/destuction with Tk::Notebook