Before begging too much, run:
perl -v
As I stated, I find that the output differs between Perl 5.005_03 on Windows and Linux. On Windows I get nothing. On Linux I get 4 lines.

Now the odds are that you have a recent Perl. That means either a heavily patched 5.005 or (more likely) you have 5.6. In that case see the other notes in this thread about the glob implementation changing.

In short, before saying someone's statement (made on a direct test) is wrong, it is good to have tied out all relevant factors. And in this case you can see that while it may not differ for you, it does for me. And it does for me on the version that I stated up front had differences.

Incidentally I already knew about the braindead command line handling on Windows. If you want to prove that the executable handles it, it is probably easiest to just write a trivial VB application that echoes the command line. And the best way around the way that perl.exe handles it is to pick a different quote delimiter:

perl -e "print map qq($_\n), glob('{A,B}{a,b}');"

In reply to Re (tilly) 4: Sort of like a file handle, but not by tilly
in thread Sort of like a file handle, but not by DeusVult

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.