Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (8)
As of 2024-04-23 12:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found