Two trains of thought :

OS goodies

First off, I'd make sure you've got a locale.inf file in %windir%\inf directory. This is the definition file for locales.
Then verify that your language is set to Polish in the Regional Settings control panel.

Perl Goodies

perl -V:d_setlocale should return "define".</code>This means that perl thinks it can handle locales. If this doesn't return define, ain't nothing gonna work
try using the locales ISO-8859-4 or ISO-8859-2 instead of pl in setlocale. These are Baltic and Central European charsets, respectively. There's 7 or so environment variables you can set if setlocale doesn't seem to work: if this still doesn't work, perl should emit some error telling you that the locale is bad, or some other bad thing is occurring. Good luck!
Update Don't change locales when running scripts in Excel, or you'll mess up any currency values :(. I take it that this Z3 thing is for Zloty??

In reply to (boo) Setting up locales on win32. by boo_radley
in thread LOCALE on non-posix compliant systems (Win32) ? by Anonymous Monk

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.