in reply to same code,run at windows and unix separately,the result is different

Prints '42' for me on windows, as expected.
The code being run on Windows must be different to the code being run on linux - otherwise output would be the same.

Cheers,
Rob
  • Comment on Re: same code,run at windows and unix separately,the result is different

Replies are listed 'Best First'.
Re^2: same code,run at windows and unix separately,the result is different
by ikegami (Patriarch) on Jun 10, 2009 at 05:34 UTC

    As expected? The array @4 has zero elements, not four. Similarly, the array @2 has zero elements, not two.

      As expected?

      Correction ... make that "as I expected" .... having not taken the time to look too closely or think too hard about it. (Why wasn't the same bugfix applied to perl 5.8.9 ?)

      Cheers,
      Rob
        If I were to guess, it would break too much (buggy but working) code for a bug fix of little consequence for a maintenance release.
        Yeah why not LOL