The only way that this Switch { ... } block would make sense is if somewhere there was a sub Switch (&), either defined in the code or coming from a module. However, it's not coming from the Switch module nor, at least as far as I can tell, CGI::Switch. I suspect you may have omitted the source of this Switch from the code you posted, since I also don't see where the manageusers package is coming from. And by the way, is it uppercase Switch, or lowercase switch like in the root node?

Unfortunately, what you've posted so far is not enough information to help you further. Please try to reduce the amount of code needed to reproduce the problem into a Short, Self-Contained, Correct Example. Also a good read is How do I post a question effectively? and I know what I mean. Why don't you?

Also, assuming you were the one who posted this anonymously:

I don't see the post How long does it take a moderator to approve or does that occur ordid I screw up?

Posts should appear immediately, if they do not, something probably went wrong.


In reply to Re^5: Switch.pm Failure by haukex
in thread Switch.pm Failure by tultalk

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.