It doesn't seem to be specified in the documentation, but apparently there are ordering issues with Exporter:
use Foo qw[ baz :bar ]; # ERROR: ":bar" not exported use Foo qw[ :bar baz ]; # OK
Did I miss the part where they talk about having to put your sets first? Either way, this seems to be an oversight in Exporter::Heavy.

What about this patch?
*** Heavy.pm Wed May 15 19:38:18 2002 --- /usr/local/lib/perl5/5.6.1/Exporter/Heavy.pm Wed May 15 19:35:5 +1 2002*************** *** 36,48 **** } } ! if ($imports[0] =~ m#^[/!:]#){ my $tagsref = \%{"${pkg}::EXPORT_TAGS"}; my $tagdata; my %imports; my($remove, $spec, @names, @allexports); # negated first item implies starting with default set: ! unshift @imports, ':DEFAULT' if $imports[0] =~ m/^!/; foreach $spec (@imports){ $remove = $spec =~ s/^!//; --- 54,66 ---- } } ! if (grep {m#^[/!:]#} @imports){ my $tagsref = \%{"${pkg}::EXPORT_TAGS"}; my $tagdata; my %imports; my($remove, $spec, @names, @allexports); # negated first item implies starting with default set: ! unshift @imports, ':DEFAULT' if (grep{m/^!/} @imports); foreach $spec (@imports){ $remove = $spec =~ s/^!//;
Is this making it worse, or is this already patched in the more recent versions?

In reply to Exporter::Heavy Ordering Shenanigans? by tadman

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.