Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Re(4): my $var; vs. use constant VAR = '';

by Rhandom (Curate)
on Apr 27, 2001 at 03:33 UTC ( #75968=note: print w/replies, xml ) Need Help??

in reply to Re(4): my $var; vs. use constant VAR = '';
in thread my $var = ''; vs. use constant VAR => '';

Ahhhh -- but run that again. New values. Perils of Benchmark {grin}. On our system here (6 to 7 developers per box) the load changes enough that even a "stable" test will show different outputs.

Something that would be nice for benchmark to do is to randomize the order in which the tests are run -- pick one of the keys randomly each time. This would probably make the percentages a little bit more constant.

Still though, kind of funny that things are in the ball park of a literal value.

my @a=qw(random brilliant braindead); print $a[rand(@a)];
  • Comment on Re: Re(4): my $var; vs. use constant VAR = '';

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://75968]
[Your Mother]: Windows doesn't even recognize them as far as that goes.
[Lady_Aleena]: Your Mother, thanks. I had a feeling it would be no.
[Your Mother]: :P
[Lady_Aleena]: Your Mother, it is a good thing I am no on Windows.
[Lady_Aleena]: s/no/not/;
[Lady_Aleena]: My blasted web host will not put perl 5.22 in /usr/bin/perl, it is in /usr/local/cpanel/ 3rdparty/bin/perl
Lady_Aleena has been banging her head against this wall for years now with no success on breaking the wall.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2017-04-28 06:31 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (519 votes). Check out past polls.