This is what I got (with NT/5.8.0):
# original version:
H:\temp>perl x.pl
1.2
# with the new library:
H:\temp>perl -Ilib x.pl
1.49
# I modified the program to accept a parameter
# and tried again
H:\temp>perl -Ilib x.pl 10
1.49 - 10 times
# this only happened once!
H:\temp>perl x.pl 10
1.2 - 10 times
1118932187.88553
1118932187.94562
1118932188.0057
1118932188.06579
1118932188.13589
H:\temp>perl -Ilib x.pl 10
1.49 - 10 times
# then tried again a few times
H:\temp>perl x.pl 10 & perl -Ilib x.pl 10
1.2 - 10 times
1.49 - 10 times
With "100", sometimes I get output in
version 1.2, sometimes not; there is no output
in version 1.49
With "1000", I got output in both versions.
-
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.
|