Surely one can ask a perl question without code

One can ask anything, but don't expect a useful answer.

perhaps people will be less inclined to bitch about the code and mode inclined to answer the perl question then.

There is a reason why we bitch about your code, and that is very simply that it contains many pitfalls that we have seen very often, and that can easily be avoided, and we don't want to debug it all over again. In the end one of your problems turned out to be a scoping error, which use strict; catches. See the point?

It's a bit like when somebody can't even add numbers properly, and asks why his numerical integration fails. There's no merit in explaining to him why it fails before he has the foundation to work properly with it.

If you don't accept that, go find somebody who fixes your code for money, instead of pissing off those people who might answer you for free if you showed some more effort, and actually took the advice you were given.


In reply to Re^5: Dynamic tab creation/destuction with Tk::Notebook by moritz
in thread Dynamic tab creation/destuction with Tk::Notebook by thefinn

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.